From 6f63dddcf74a58514dc88c0f1de1a6490b882ff2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 15 Jul 2016 09:07:59 +0200 Subject: [PATCH] * Setup/LDAP: fix exception when migration accounts to/from LDAP --- setup/inc/class.setup_cmd_ldap.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/inc/class.setup_cmd_ldap.inc.php b/setup/inc/class.setup_cmd_ldap.inc.php index 257943dbb7..4accf89d90 100644 --- a/setup/inc/class.setup_cmd_ldap.inc.php +++ b/setup/inc/class.setup_cmd_ldap.inc.php @@ -785,8 +785,8 @@ class setup_cmd_ldap extends setup_cmd 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))); }