summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-25 20:42:38 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-26 11:16:23 +0200
commit74f0e3723327fbfb1cd7a96865019ff791b41593 (patch)
tree76df4b982e0c8689f0a74528299be8822263f2e6 /lib/public
parent7ebd96416ca9150a4d524547a18b5fce269016ca (diff)
downloadnextcloud-server-74f0e3723327fbfb1cd7a96865019ff791b41593.tar.gz
nextcloud-server-74f0e3723327fbfb1cd7a96865019ff791b41593.zip
Remove deprecated \OCP\User::userExists
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/User.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/public/User.php b/lib/public/User.php
index ba9039054be..a669a3a06fc 100644
--- a/lib/public/User.php
+++ b/lib/public/User.php
@@ -68,18 +68,6 @@ class User {
}
/**
- * Check if a user exists
- * @param string $uid the username
- * @param string $excludingBackend (default none)
- * @return boolean
- * @deprecated 8.1.0 use method userExists() of \OCP\IUserManager - \OC::$server->getUserManager()
- * @since 5.0.0
- */
- public static function userExists($uid, $excludingBackend = null) {
- return \OC::$server->getUserManager()->userExists($uid);
- }
-
- /**
* Check if the user is a admin, redirects to home if not
* @since 5.0.0
* @deprecated 13.0.0 Use annotation based ACLs from the AppFramework instead