mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
CleanUp: removed redundant storing profile attributes in user settings
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com Signed-off-by: Marc Hefter <marchefter@gmail.com>
This commit is contained in:
parent
3020290751
commit
5c4a05cfd6
1 changed files with 0 additions and 2 deletions
|
|
@ -623,11 +623,9 @@ class User {
|
|||
return;
|
||||
}
|
||||
$this->logger->debug('property updated: '.$profileProperty.'='.$value.' for user '.$this->getUsername().'', ['app' => 'user_ldap']);
|
||||
$this->config->setUserValue($this->getUsername(), 'user_ldap', $property, $value);
|
||||
return;
|
||||
} else {
|
||||
// FIXME: I decided, to leave profile untouched, if attribute gets removed from LDAP
|
||||
$this->config->deleteUserValue($this->getUsername(), 'user_ldap', $property);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue