summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-25 20:33:24 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-25 20:33:24 +0200
commit6c8caa1641732c57fe59483fc2cdd5bcd7bd0163 (patch)
tree57c69a5be00c4ae2c43bf2ce4094c3f700e1f285 /lib/private/legacy
parent89ebb8a6631eaa273d34864224986e4efb2c365d (diff)
downloadnextcloud-server-6c8caa1641732c57fe59483fc2cdd5bcd7bd0163.tar.gz
nextcloud-server-6c8caa1641732c57fe59483fc2cdd5bcd7bd0163.zip
Remove deprecated \OCP\User::getUsers
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/user.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/private/legacy/user.php b/lib/private/legacy/user.php
index 8f342281adb..07aa5a92f9a 100644
--- a/lib/private/legacy/user.php
+++ b/lib/private/legacy/user.php
@@ -367,25 +367,6 @@ class OC_User {
}
/**
- * Get a list of all users
- *
- * @return array an array of all uids
- *
- * Get a list of all users.
- * @param string $search
- * @param integer $limit
- * @param integer $offset
- */
- public static function getUsers($search = '', $limit = null, $offset = null) {
- $users = \OC::$server->getUserManager()->search($search, $limit, $offset);
- $uids = array();
- foreach ($users as $user) {
- $uids[] = $user->getUID();
- }
- return $uids;
- }
-
- /**
* Get a list of all users display name
*
* @param string $search