Remove deprecated and unused method OCP\User::getDisplayNames

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-03-21 14:19:59 +01:00
parent c8340ace5c
commit 591d84f5fd
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 0 additions and 14 deletions

View File

@ -82,20 +82,6 @@ class User {
return \OC_User::getDisplayName( $user );
}
/**
* Get a list of all display names and user ids.
* @param string $search search pattern
* @param int|null $limit
* @param int|null $offset
* @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
* @suppress PhanDeprecatedFunction
*/
public static function getDisplayNames( $search = '', $limit = null, $offset = null ) {
return \OC_User::getDisplayNames( $search, $limit, $offset );
}
/**
* Check if the user is logged in
* @return boolean