aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-21 14:19:59 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-03-21 14:19:59 +0100
commit591d84f5fd9af879f9ceb9b215b6f8f5b22c73c0 (patch)
tree8c8120ffb80e1d631be0de6d7d0068022493dc83
parentc8340ace5c22b3a3cf2132b2efbe91104aab04e9 (diff)
downloadnextcloud-server-591d84f5fd9af879f9ceb9b215b6f8f5b22c73c0.tar.gz
nextcloud-server-591d84f5fd9af879f9ceb9b215b6f8f5b22c73c0.zip
Remove deprecated and unused method OCP\User::getDisplayNames
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--lib/public/User.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/public/User.php b/lib/public/User.php
index 2fdf540b958..14fdd6fb1ab 100644
--- a/lib/public/User.php
+++ b/lib/public/User.php
@@ -83,20 +83,6 @@ class 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
* @since 5.0.0