aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/user.php
diff options
context:
space:
mode:
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) !== '') {