aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js
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/js
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/js')
-rw-r--r--apps/user_ldap/js/wizard/wizardTabAdvanced.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabAdvanced.js b/apps/user_ldap/js/wizard/wizardTabAdvanced.js
index 5b247294473..a438b847401 100644
--- a/apps/user_ldap/js/wizard/wizardTabAdvanced.js
+++ b/apps/user_ldap/js/wizard/wizardTabAdvanced.js
@@ -163,10 +163,6 @@ OCA = OCA || {};
$element: $('#ldap_attr_biography'),
setMethod: 'setBiographyAttribute'
},
- ldap_profile_scope: {
- $element: $('#ldap_profile_scope'),
- setMethod: 'setProfileScope'
- },
};
this.setManagedItems(items);
},
@@ -490,15 +486,6 @@ OCA = OCA || {};
},
/**
- * sets the visibility scope for the Nextcloud user profile properties
- *
- * @param {string} scope
- */
- setProfileScope: function(scope) {
- this.setElementValue(this.managedItems.ldap_profile_scope.$element, scope);
- },
-
- /**
* deals with the result of the Test Connection test
*
* @param {WizardTabAdvanced} view