Skip to content
Snippets Groups Projects
Commit 1a4021a0 authored by Robin Appelman's avatar Robin Appelman
Browse files

User: return backend result

parent fbe3213f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment