[Pkg-owncloud-commits] [owncloud] 35/63: backport necessary OfflinerUser::unmark()

David Prévot taffit at moszumanska.debian.org
Tue Dec 22 16:50:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8.0
in repository owncloud.

commit 2eedf39b1547bda804b2b6b1f00b5099494b5454
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Tue Dec 15 12:53:56 2015 +0100

    backport necessary OfflinerUser::unmark()
---
 apps/user_ldap/lib/user/offlineuser.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/apps/user_ldap/lib/user/offlineuser.php b/apps/user_ldap/lib/user/offlineuser.php
index 1833f4b..17b86bf 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
 	 */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list