Remove deprecated and unused method OCP\User::getDisplayNames
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
c8340ace5c
commit
591d84f5fd
|
@ -82,20 +82,6 @@ class User {
|
||||||
return \OC_User::getDisplayName( $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
|
* Check if the user is logged in
|
||||||
* @return boolean
|
* @return boolean
|
||||||
|
|
Loading…
Reference in New Issue