summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMarc Hefter <hubzilla@march42.net>2023-02-17 15:25:17 +0100
committerMarc Hefter <marchefter@gmail.com>2023-04-06 08:20:27 +0200
commit5c4a05cfd68bb0397cb033f7c5d957ed6f9eabd0 (patch)
tree49e8e82f9e88869b28c0212022547fb165794e4c /apps
parent30202907516a8adb2bdc63a3d9d822752a0ae512 (diff)
downloadnextcloud-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.php2
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;
}
}