Merge pull request #8919 from nextcloud/remove-deprecated-method-of-ocp-user

Remove deprecated and unused method OCP\User::getDisplayNames
This commit is contained in:
Morris Jobke 2018-03-21 15:05:24 +01:00 committed by GitHub
commit 24292be917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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