User: return backend result

remotes/origin/stable6
Robin Appelman 12 years ago
parent fbe3213fec
commit 1a4021a0fe
  1. 3
      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;
}

Loading…
Cancel
Save