diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-10-30 19:20:42 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-10-30 19:20:42 +0100 |
commit | a2f2ffb8dbcb7f9cb0fe139f592be0d4772bec20 (patch) | |
tree | fb698d6d9faa6d60f80a09883ef3185747c5e6d4 /apps/user_ldap/lib/user | |
parent | 6911d8f0a4e688f3c84f2dd117424f887820750a (diff) | |
download | nextcloud-server-a2f2ffb8dbcb7f9cb0fe139f592be0d4772bec20.tar.gz nextcloud-server-a2f2ffb8dbcb7f9cb0fe139f592be0d4772bec20.zip |
if a user that is flag as deleted shows up again, remove that flag. Fixes #20090
Diffstat (limited to 'apps/user_ldap/lib/user')
-rw-r--r-- | apps/user_ldap/lib/user/offlineuser.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/user/offlineuser.php b/apps/user_ldap/lib/user/offlineuser.php index 72c02427928..3456a27b412 100644 --- a/apps/user_ldap/lib/user/offlineuser.php +++ b/apps/user_ldap/lib/user/offlineuser.php @@ -86,6 +86,13 @@ class OfflineUser { } /** + * remove the Delete-flag from the user. + */ + public function unmark() { + $this->config->setUserValue($this->ocName, 'user_ldap', 'isDeleted', '0'); + } + + /** * exports the user details in an assoc array * @return array */ |