Add search and limit to getGroups search in groupExists implementation
This commit is contained in:
parent
b6bbbb4c47
commit
8d56c42fde
|
@ -115,7 +115,7 @@ abstract class OC_Group_Backend implements OC_Group_Interface {
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function groupExists($gid){
|
public function groupExists($gid){
|
||||||
return in_array($gid, $this->getGroups());
|
return in_array($gid, $this->getGroups($gid, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue