[Pkg-owncloud-commits] [owncloud] 41/70: don't trigger update from checkPassword, it is already called by userExists, this is enough.

David Prévot taffit at moszumanska.debian.org
Mon Jul 14 17:38:07 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit ed1c918d9e95244228251352dd8846d40c529a4b
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Tue Jul 8 00:19:17 2014 +0200

    don't trigger update from checkPassword, it is already  called by userExists, this is enough.
---
 apps/user_ldap/user_ldap.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 9fa2a6b..ae4dfec 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -73,7 +73,6 @@ class USER_LDAP extends BackendUtility implements \OCP\UserInterface {
 			}
 
 			$user->markLogin();
-			$user->update();
 
 			return $user->getUsername();
 		}

-- 
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