mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix PHP Fatal error: Class 'ldap' not found, when migrating accounts LDAP --> SQL
This commit is contained in:
parent
f6f3b89f8b
commit
3e1f7613de
@ -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