mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
fix PHP Fatal error: Class 'ldap' not found, when migrating accounts LDAP --> SQL
This commit is contained in:
parent
bfd3262c7b
commit
641f265e88
@ -546,8 +546,7 @@ class setup_cmd_ldap extends setup_cmd
|
||||
if (!isset($ldap_class))
|
||||
{
|
||||
$ldap_class = false;
|
||||
$ldap = new ldap();
|
||||
$ldap->ldapConnect();
|
||||
$ldap = Api\Ldap::factory(false);
|
||||
foreach(array( // todo: have these enumerated by emailadmin ...
|
||||
'qmailUser' => 'EGroupware\\Api\\Mail\\Smtp\\Oldqmailuser',
|
||||
'dbMailUser' => 'EGroupware\\Api\\Mail\\Smtp\\Dbmailuser',
|
||||
|
Loading…
Reference in New Issue
Block a user