From 9e322828f259c8cebb9953a5a315c2eacfa26ac2 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 30 Dec 2015 16:31:52 +0100 Subject: Cache if a group exists --- lib/private/group/database.php | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3