mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
write only for contact-repository sql-ldap, but not for sql and account in ldap
This commit is contained in:
parent
cc7020f9a6
commit
8072930632
@ -302,7 +302,7 @@ class accounts extends accounts_backend
|
||||
{
|
||||
// if we are not on a pure LDAP system, we have to write the account-date via the contacts class now
|
||||
if (($GLOBALS['egw_info']['server']['account_repository'] != 'ldap' ||
|
||||
$GLOBALS['egw_info']['server']['contact_repository'] != 'ldap') &&
|
||||
$GLOBALS['egw_info']['server']['contact_repository'] == 'sql-ldap') &&
|
||||
(!($old = $this->read($data['account_id'])) || // only for new account or changed contact-data
|
||||
$old['account_firstname'] != $data['account_firstname'] ||
|
||||
$old['account_lastname'] != $data['account_lastname'] ||
|
||||
|
Loading…
Reference in New Issue
Block a user