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

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:40:02 UTC 2014


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

taffit pushed a commit to annotated tag v6.0.5RC1
in repository owncloud.

commit b77298b76d8e95991ff2f6a46f67518604de03ab
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Thu Jul 10 23:48:38 2014 +0200

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

diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 8876cc7..b5b63fe 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -148,10 +148,6 @@ class USER_LDAP extends BackendUtility implements \OCP\UserInterface {
 		$ocname = $this->access->dn2username($dn);
 
 		if($ocname) {
-			//update some settings, if necessary
-			$this->updateQuota($dn);
-			$this->updateEmail($dn);
-
 			//are the credentials OK?
 			if(!$this->access->areCredentialsValid($dn, $password)) {
 				return false;

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