Change limit parameter in OC_User as well
This commit is contained in:
parent
400533af2c
commit
4f1b3631ba
|
@ -338,7 +338,7 @@ class OC_User {
|
||||||
*
|
*
|
||||||
* Get a list of all users.
|
* Get a list of all users.
|
||||||
*/
|
*/
|
||||||
public static function getUsers($search = '', $limit = 10, $offset = 0) {
|
public static function getUsers($search = '', $limit = -1, $offset = 0) {
|
||||||
$users = array();
|
$users = array();
|
||||||
foreach (self::$_usedBackends as $backend) {
|
foreach (self::$_usedBackends as $backend) {
|
||||||
$backendUsers = $backend->getUsers($search, $limit, $offset);
|
$backendUsers = $backend->getUsers($search, $limit, $offset);
|
||||||
|
|
Loading…
Reference in New Issue