Commit 4f1aa5f6 authored by ludovic's avatar ludovic
Browse files

Update synchronizationScriptAFD.php

parent f7d7cdea
......@@ -303,7 +303,7 @@ function synchronizeUsers(array $ldapUsers, array $maarchUsers)
$user['user_id'] != 'superadmin')
{
$delete = \User\models\UserModel::update([
'set' => ['status' => 'SPD'],
'set' => ['status' => 'DEL'],
'where' => ['id = ?'],
'data' => [$user['id']]
]);
......@@ -438,4 +438,4 @@ function userAddEntity($userId, $user)
else{
writeLog(['message' => "[ERROR] Add entity to user failed : {Entity not found}"]);
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment