summaryrefslogtreecommitdiffstats
path: root/lib/public/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/User.php')
-rw-r--r--lib/public/User.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/public/User.php b/lib/public/User.php
index 14fdd6fb1ab..a669a3a06fc 100644
--- a/lib/public/User.php
+++ b/lib/public/User.php
@@ -58,31 +58,6 @@ class User {
}
/**
- * Get a list of all users
- * @param string $search search pattern
- * @param int|null $limit
- * @param int|null $offset
- * @return array an array of all uids
- * @deprecated 8.1.0 use method search() of \OCP\IUserManager - \OC::$server->getUserManager()
- * @since 5.0.0
- */
- public static function getUsers( $search = '', $limit = null, $offset = null ) {
- return \OC_User::getUsers( $search, $limit, $offset );
- }
-
- /**
- * Get the user display name of the user currently logged in.
- * @param string|null $user user id or null for current user
- * @return string display name
- * @deprecated 8.1.0 fetch \OCP\IUser (has getDisplayName()) by using method
- * get() of \OCP\IUserManager - \OC::$server->getUserManager()
- * @since 5.0.0
- */
- public static function getDisplayName( $user = null ) {
- return \OC_User::getDisplayName( $user );
- }
-
- /**
* Check if the user is logged in
* @return boolean
* @since 5.0.0
@@ -93,18 +68,6 @@ class User {
}
/**
- * Check if a user exists
- * @param string $uid the username
- * @param string $excludingBackend (default none)
- * @return boolean
- * @deprecated 8.1.0 use method userExists() of \OCP\IUserManager - \OC::$server->getUserManager()
- * @since 5.0.0
- */
- public static function userExists($uid, $excludingBackend = null) {
- return \OC::$server->getUserManager()->userExists($uid);
- }
-
- /**
* Check if the user is a admin, redirects to home if not
* @since 5.0.0
* @deprecated 13.0.0 Use annotation based ACLs from the AppFramework instead