From 1a4021a0fe0a5b3b9242109b2de441d30dfb5235 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Mon, 3 Jun 2013 13:19:01 +0200
Subject: [PATCH] User: return backend result

---
 lib/user/user.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/user/user.php b/lib/user/user.php
index fb97ff1a6d..05d5a0935b 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;
 		}
-- 
GitLab