Skip to content

Commit

Permalink
* Setup/LDAP: fix exception when migration accounts to/from LDAP
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfbecker committed Jul 15, 2016
1 parent 6e60eba commit 6f63ddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/inc/class.setup_cmd_ldap.inc.php
Expand Up @@ -785,8 +785,8 @@ private function accounts_obj($type)
array(
'account_repository' => $GLOBALS['egw_info']['server']['account_repository'],
) + $this->as_array()) ||
!is_a(self::$egw_setup->accounts,'accounts') ||
!is_a(self::$egw_setup->accounts->backend,'accounts_'.$type))
!is_a(self::$egw_setup->accounts, 'EGroupware\\Api\\Accounts') ||
!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)));
}
Expand Down

0 comments on commit 6f63ddd

Please sign in to comment.