[Pkg-owncloud-commits] [owncloud] 304/394: LDAP: update quota on every uncached userExists, i.e. also on every isLoggedIn, fixes #1278

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:35 UTC 2013


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

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 3007ef9970fe0a304dac395e1123ac443fd17914
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Wed Jan 23 18:20:55 2013 +0100

    LDAP: update quota on every uncached userExists, i.e. also on every isLoggedIn, fixes #1278
---
 apps/user_ldap/user_ldap.php |    1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 8658ba0..e9c8c93 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -148,6 +148,7 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface {
 		}
 
 		$this->connection->writeToCache('userExists'.$uid, true);
+		$this->updateQuota($dn);
 		return true;
 	}
 

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