summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-12-15 12:53:56 +0100
committerVincent Petry <pvince81@owncloud.com>2015-12-15 20:15:56 +0100
commit2eedf39b1547bda804b2b6b1f00b5099494b5454 (patch)
treeee63608bdc16946c66983f033a3a06813af9ff9e /apps
parent4d1bee93081f7e642d70c42958487e62c98e1abd (diff)
downloadnextcloud-server-2eedf39b1547bda804b2b6b1f00b5099494b5454.tar.gz
nextcloud-server-2eedf39b1547bda804b2b6b1f00b5099494b5454.zip
backport necessary OfflinerUser::unmark()
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/user/offlineuser.php7
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 1833f4be968..17b86bfcf5a 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
*/