diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-07-19 18:30:33 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 08:20:16 +0200 |
commit | a4ffbc09eced10ecd1482bb9837b40a771e4538b (patch) | |
tree | aa2312e9e51eccc96ca8f6fbccfbf265a08c974a /lib | |
parent | c25e782dd6c85a29a39b18fddc3946fc1528a810 (diff) | |
download | nextcloud-server-a4ffbc09eced10ecd1482bb9837b40a771e4538b.tar.gz nextcloud-server-a4ffbc09eced10ecd1482bb9837b40a771e4538b.zip |
Fix lib/public/User.php
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/User.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/User.php b/lib/public/User.php index 64398a7f1f8..7cc18b99b36 100644 --- a/lib/public/User.php +++ b/lib/public/User.php @@ -89,6 +89,7 @@ class User { * @return array an array of all display names (value) and the correspondig uids (key) * @deprecated 8.1.0 use method searchDisplayName() of \OCP\IUserManager - \OC::$server->getUserManager() * @since 5.0.0 + * @suppressed PhanDeprecatedFunction */ public static function getDisplayNames( $search = '', $limit = null, $offset = null ) { return \OC_User::getDisplayNames( $search, $limit, $offset ); @@ -111,8 +112,8 @@ class User { * @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_User::userExists( $uid, $excludingBackend ); + public static function userExists($uid, $excludingBackend = null) { + return \OC_User::userExists($uid); } /** * Logs the user out including all the session data |