mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 19:13:26 +00:00
Add Deleted field
This commit is contained in:
@@ -89,6 +89,11 @@ class patch_3902 implements patchInterface
|
||||
|
||||
}
|
||||
$user->setLogin($row['usr_login']);
|
||||
|
||||
if (substr($row['usr_login'], 0, 10) === '(#deleted_') {
|
||||
$user->setDeleted(true);
|
||||
}
|
||||
|
||||
$user->setMailLocked(!!$row['mail_locked']);
|
||||
$user->setMailNotificationsActivated(!!$row['mail_notifications']);
|
||||
$user->setModelOf($row['model_of']);
|
||||
|
Reference in New Issue
Block a user