summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-21 15:05:24 +0100
committerGitHub <noreply@github.com>2018-03-21 15:05:24 +0100
commit24292be917ec99e273b3e39b2a4f99292935e331 (patch)
tree3d3ec451e427d1affaa32e967f2accc5f756fa08 /lib
parent24f1b8f01a645b1e0f1f5c2a7facabca73b90cc4 (diff)
parent591d84f5fd9af879f9ceb9b215b6f8f5b22c73c0 (diff)
downloadnextcloud-server-24292be917ec99e273b3e39b2a4f99292935e331.tar.gz
nextcloud-server-24292be917ec99e273b3e39b2a4f99292935e331.zip
Merge pull request #8919 from nextcloud/remove-deprecated-method-of-ocp-user
Remove deprecated and unused method OCP\User::getDisplayNames
Diffstat (limited to 'lib')
-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