From 591d84f5fd9af879f9ceb9b215b6f8f5b22c73c0 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 21 Mar 2018 14:19:59 +0100 Subject: [PATCH] Remove deprecated and unused method OCP\User::getDisplayNames Signed-off-by: Morris Jobke --- lib/public/User.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/public/User.php b/lib/public/User.php index 2fdf540b95..14fdd6fb1a 100644 --- a/lib/public/User.php +++ b/lib/public/User.php @@ -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