diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-30 16:31:52 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-12 08:24:08 +0100 |
commit | 9e322828f259c8cebb9953a5a315c2eacfa26ac2 (patch) | |
tree | 11cb02b31036ffeb82e3786db96185f2897c41ac /lib/private/group/database.php | |
parent | 3c8f4784e9ee7ea8e7fe8eae3ab91031404619c3 (diff) | |
download | nextcloud-server-9e322828f259c8cebb9953a5a315c2eacfa26ac2.tar.gz nextcloud-server-9e322828f259c8cebb9953a5a315c2eacfa26ac2.zip |
Cache if a group exists
Diffstat (limited to 'lib/private/group/database.php')
-rw-r--r-- | lib/private/group/database.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/group/database.php b/lib/private/group/database.php index 23d63234a4f..b85cb72d859 100644 --- a/lib/private/group/database.php +++ b/lib/private/group/database.php @@ -297,6 +297,7 @@ class OC_Group_Database extends OC_Group_Backend { $cursor->closeCursor(); if ($result !== false) { + $this->groupCache[$gid] = $gid; return true; } return false; |