From: Robin Appelman Date: Mon, 3 Jun 2013 11:19:01 +0000 (+0200) Subject: User: return backend result X-Git-Tag: v6.0.0alpha2~688^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a4021a0fe0a5b3b9242109b2de441d30dfb5235;p=nextcloud-server.git User: return backend result --- 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; }