Fix lib/public/User.php

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-07-19 18:30:33 +02:00 committed by Roeland Jago Douma
parent c25e782dd6
commit a4ffbc09ec
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 3 additions and 2 deletions

View File

@ -89,6 +89,7 @@ class User {
* @return array an array of all display names (value) and the correspondig uids (key) * @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() * @deprecated 8.1.0 use method searchDisplayName() of \OCP\IUserManager - \OC::$server->getUserManager()
* @since 5.0.0 * @since 5.0.0
* @suppressed PhanDeprecatedFunction
*/ */
public static function getDisplayNames( $search = '', $limit = null, $offset = null ) { public static function getDisplayNames( $search = '', $limit = null, $offset = null ) {
return \OC_User::getDisplayNames( $search, $limit, $offset ); return \OC_User::getDisplayNames( $search, $limit, $offset );
@ -112,7 +113,7 @@ class User {
* @since 5.0.0 * @since 5.0.0
*/ */
public static function userExists($uid, $excludingBackend = null) { public static function userExists($uid, $excludingBackend = null) {
return \OC_User::userExists( $uid, $excludingBackend ); return \OC_User::userExists($uid);
} }
/** /**
* Logs the user out including all the session data * Logs the user out including all the session data