mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
* Setup/LDAP: fix exception when migration accounts to/from LDAP
This commit is contained in:
parent
6e60eba80f
commit
6f63dddcf7
@ -785,8 +785,8 @@ class setup_cmd_ldap extends setup_cmd
|
|||||||
array(
|
array(
|
||||||
'account_repository' => $GLOBALS['egw_info']['server']['account_repository'],
|
'account_repository' => $GLOBALS['egw_info']['server']['account_repository'],
|
||||||
) + $this->as_array()) ||
|
) + $this->as_array()) ||
|
||||||
!is_a(self::$egw_setup->accounts,'accounts') ||
|
!is_a(self::$egw_setup->accounts, 'EGroupware\\Api\\Accounts') ||
|
||||||
!is_a(self::$egw_setup->accounts->backend,'accounts_'.$type))
|
!is_a(self::$egw_setup->accounts->backend, 'EGroupware\\Api\\Accounts\\'.ucfirst($type)))
|
||||||
{
|
{
|
||||||
throw new Exception(lang("Can NOT instancate accounts object for %1", strtoupper($type)));
|
throw new Exception(lang("Can NOT instancate accounts object for %1", strtoupper($type)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user