Cache if a group exists

This commit is contained in:
Roeland Jago Douma 2015-12-30 16:31:52 +01:00
parent 3c8f4784e9
commit 9e322828f2
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ class OC_Group_Database extends OC_Group_Backend {
$cursor->closeCursor(); $cursor->closeCursor();
if ($result !== false) { if ($result !== false) {
$this->groupCache[$gid] = $gid;
return true; return true;
} }
return false; return false;