diff options
Diffstat (limited to 'lib/user/user.php')
-rw-r--r-- | lib/user/user.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/user/user.php b/lib/user/user.php index fb97ff1a6d8..05d5a0935b4 100644 --- a/lib/user/user.php +++ b/lib/user/user.php @@ -76,8 +76,7 @@ class User { public function setDisplayName($displayName) { if ($this->canChangeDisplayName()) { $this->displayName = $displayName; - $this->backend->setDisplayName($this->uid, $displayName); - return true; + return $this->backend->setDisplayName($this->uid, $displayName); } else { return false; } |