summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-06-03 13:19:01 +0200
committerRobin Appelman <icewind@owncloud.com>2013-06-03 13:19:01 +0200
commit1a4021a0fe0a5b3b9242109b2de441d30dfb5235 (patch)
tree09186bb82c122c8f45b97eedddf4d818c17a595e
parentfbe3213fec12263c8c6ffa9967fcb3ee983dc189 (diff)
downloadnextcloud-server-1a4021a0fe0a5b3b9242109b2de441d30dfb5235.tar.gz
nextcloud-server-1a4021a0fe0a5b3b9242109b2de441d30dfb5235.zip
User: return backend result
-rw-r--r--lib/user/user.php3
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;
}