From 8fd263ef63ad122211eca90567a741c7e18d51f2 Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@owncloud.com>
Date: Wed, 23 Jan 2013 18:20:55 +0100
Subject: [PATCH] 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 4928ad2e27..b3180e1135 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -156,6 +156,7 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface {
 		}
 
 		$this->connection->writeToCache('userExists'.$uid, true);
+		$this->updateQuota($dn);
 		return true;
 	}
 
-- 
GitLab