fix function call for searUsers()
This commit is contained in:
parent
b39d2d1938
commit
df358dfef5
|
@ -230,7 +230,7 @@ class OC_Group {
|
||||||
public static function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
|
public static function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
|
||||||
$group = self::getManager()->get($gid);
|
$group = self::getManager()->get($gid);
|
||||||
if ($group) {
|
if ($group) {
|
||||||
$users = $group->searchUsers($search . $limit, $offset);
|
$users = $group->searchUsers($search, $limit, $offset);
|
||||||
$userIds = array();
|
$userIds = array();
|
||||||
foreach ($users as $user) {
|
foreach ($users as $user) {
|
||||||
$userIds[] = $user->getUID();
|
$userIds[] = $user->getUID();
|
||||||
|
|
Loading…
Reference in New Issue