diff options
author | Marc Hefter <hubzilla@march42.net> | 2023-02-17 15:25:17 +0100 |
---|---|---|
committer | Marc Hefter <marchefter@gmail.com> | 2023-04-06 08:20:27 +0200 |
commit | 5c4a05cfd68bb0397cb033f7c5d957ed6f9eabd0 (patch) | |
tree | 49e8e82f9e88869b28c0212022547fb165794e4c /apps | |
parent | 30202907516a8adb2bdc63a3d9d822752a0ae512 (diff) | |
download | nextcloud-server-5c4a05cfd68bb0397cb033f7c5d957ed6f9eabd0.tar.gz nextcloud-server-5c4a05cfd68bb0397cb033f7c5d957ed6f9eabd0.zip |
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>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/User/User.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php index f1be9b28cab..4807280dc40 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -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; } } |