diff --git a/lib/private/group/database.php b/lib/private/group/database.php index 23d63234a4..b85cb72d85 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;