aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Configuration.php
diff options
context:
space:
mode:
authorMarc Hefter <marchefter@gmail.com>2023-03-10 10:56:16 +0100
committerMarc Hefter <marchefter@gmail.com>2023-04-06 08:20:30 +0200
commit5ea46d81bb5fff84e8676cf5d7a059edb6271bc1 (patch)
treef745ccc96bf050e701c4910f699917a4640e181d /apps/user_ldap/lib/Configuration.php
parent0c6d440643414151add23d4bf7eb4cff326f7b98 (diff)
downloadnextcloud-server-5ea46d81bb5fff84e8676cf5d7a059edb6271bc1.tar.gz
nextcloud-server-5ea46d81bb5fff84e8676cf5d7a059edb6271bc1.zip
nice up the code handling AccountManager
merging defaultScopes from DEFAULT_SCOPES and account_manager.default_property_scope removing unneccessary profileScope setting (using config.php instead) honoring admin choice 'profile.enabled'=>false in config.php moved checking for empty array to updateProfile function corrected some typos and cleaned some comments 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/user_ldap/lib/Configuration.php')
-rw-r--r--apps/user_ldap/lib/Configuration.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/Configuration.php b/apps/user_ldap/lib/Configuration.php
index 3935da8fa89..ef64f75a9ef 100644
--- a/apps/user_ldap/lib/Configuration.php
+++ b/apps/user_ldap/lib/Configuration.php
@@ -133,7 +133,6 @@ class Configuration {
'ldapAttributeRole' => null,
'ldapAttributeHeadline' => null,
'ldapAttributeBiography' => null,
- 'ldapProfileScope' => null,
];
public function __construct(string $configPrefix, bool $autoRead = true) {
@@ -489,7 +488,6 @@ class Configuration {
'ldap_attr_role' => '',
'ldap_attr_headline' => '',
'ldap_attr_biography' => '',
- 'ldap_profile_scope' => '',
];
}
@@ -565,7 +563,6 @@ class Configuration {
'ldap_attr_role' => 'ldapAttributeRole',
'ldap_attr_headline' => 'ldapAttributeHeadline',
'ldap_attr_biography' => 'ldapAttributeBiography',
- 'ldap_profile_scope' => 'ldapProfileScope',
];
return $array;
}