Merge pull request #647 from cm-schl/ldap-identities-plugin

correcting name of exception class in plugin ldap-identities
This commit is contained in:
the-djmaze 2022-11-09 12:17:08 +01:00 committed by GitHub
commit 2f0e410b80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?php
class LdapException extends \RainLoop\Exceptions\Exception
class LdapException extends \RainLoop\Exceptions\ClientException
{
}

View file

@ -129,11 +129,11 @@ class LdapIdentities implements IIdentities
/**
* @inheritDoc
* @throws \RainLoop\Exceptions\Exception
* @throws \RainLoop\Exceptions\ClientException
*/
public function SetIdentities(Account $account, array $identities): void
{
throw new \RainLoop\Exceptions\Exception("Ldap identities provider does not support storage");
throw new \RainLoop\Exceptions\ClientException("Ldap identities provider does not support storage");
}
/**