Change limit parameter in OC_User as well

This commit is contained in:
Michael Gapczynski 2012-08-11 16:09:25 -04:00
parent 400533af2c
commit 4f1b3631ba
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class OC_User {
*
* 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();
foreach (self::$_usedBackends as $backend) {
$backendUsers = $backend->getUsers($search, $limit, $offset);