Skip to content
Snippets Groups Projects
Commit 8d56c42f authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Add search and limit to getGroups search in groupExists implementation

parent b6bbbb4c
Branches
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ abstract class OC_Group_Backend implements OC_Group_Interface {
* @return bool
*/
public function groupExists($gid){
return in_array($gid, $this->getGroups());
return in_array($gid, $this->getGroups($gid, 1));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment