diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index 51e023d5..73110d62 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -696,6 +696,8 @@ function sync_LDAP(){ $users_to_deactivate = array_diff($db_users,$ldap_users); // users present in ldap and in the db $users_to_update = array_intersect($db_users,$ldap_users); + // users not modified + $users_nothing_done = array(); // creation of all users; if ( sizeof($users_to_create) ) {