aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-25 20:42:03 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-25 20:42:03 +0200
commit7ebd96416ca9150a4d524547a18b5fce269016ca (patch)
treee83a6c34e9955c9b1a2894e9dac40417245db28c /lib/public
parent6c8caa1641732c57fe59483fc2cdd5bcd7bd0163 (diff)
downloadnextcloud-server-7ebd96416ca9150a4d524547a18b5fce269016ca.tar.gz
nextcloud-server-7ebd96416ca9150a4d524547a18b5fce269016ca.zip
Remove deprecated OCP\User::getDisplayname
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 6e4e1d52a72..ba9039054be 100644
--- a/lib/public/User.php
+++ b/lib/public/User.php
@@ -58,18 +58,6 @@ class User {
}
/**
- * Get the user display name of the user currently logged in.
- * @param string|null $user user id or null for current user
- * @return string display name
- * @deprecated 8.1.0 fetch \OCP\IUser (has getDisplayName()) by using method
- * get() of \OCP\IUserManager - \OC::$server->getUserManager()
- * @since 5.0.0
- */
- public static function getDisplayName( $user = null ) {
- return \OC_User::getDisplayName( $user );
- }
-
- /**
* Check if the user is logged in
* @return boolean
* @since 5.0.0