aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/user.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 20:42:55 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 20:42:55 +0200
commitb930f32e89a0f890ebda449ab3d37952f9a4317e (patch)
treeac352343a3d1b12452db21f150f49c46f40dfc23 /lib/private/legacy/user.php
parent5dc480a38c3755330cda99915a54f72d46df4885 (diff)
downloadnextcloud-server-b930f32e89a0f890ebda449ab3d37952f9a4317e.tar.gz
nextcloud-server-b930f32e89a0f890ebda449ab3d37952f9a4317e.zip
Remove legacy OC_User_Backend and OC_User_Interface
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/legacy/user.php')
-rw-r--r--lib/private/legacy/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/user.php b/lib/private/legacy/user.php
index 2b0fba73366..feed6f836ca 100644
--- a/lib/private/legacy/user.php
+++ b/lib/private/legacy/user.php
@@ -175,7 +175,7 @@ class OC_User {
self::setUserId($uid);
$setUidAsDisplayName = true;
if($backend instanceof \OCP\UserInterface
- && $backend->implementsActions(OC_User_Backend::GET_DISPLAYNAME)) {
+ && $backend->implementsActions(\OC\User\Backend::GET_DISPLAYNAME)) {
$backendDisplayName = $backend->getDisplayName($uid);
if(is_string($backendDisplayName) && trim($backendDisplayName) !== '') {