summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/helper.php
diff options
context:
space:
mode:
authorMartin Konrad <info@martin-konrad.net>2014-09-30 03:23:00 +0200
committerMartin Konrad <info@martin-konrad.net>2014-09-30 03:23:00 +0200
commitfd9b79b218c171a201940c31068808fb3ccc6383 (patch)
tree88f586533a13f2ccb619f73cd95effb83f1b9778 /apps/user_ldap/lib/helper.php
parent659b9fc0308d30b141e6ed66e52b822e76393756 (diff)
downloadnextcloud-server-fd9b79b218c171a201940c31068808fb3ccc6383.tar.gz
nextcloud-server-fd9b79b218c171a201940c31068808fb3ccc6383.zip
Add a CLI command that deletes an LDAP config
With this change LDAP configurations can be managed completely from the command line.
Diffstat (limited to 'apps/user_ldap/lib/helper.php')
-rw-r--r--apps/user_ldap/lib/helper.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/helper.php b/apps/user_ldap/lib/helper.php
index ecda49f73fc..282f4549e3b 100644
--- a/apps/user_ldap/lib/helper.php
+++ b/apps/user_ldap/lib/helper.php
@@ -111,9 +111,6 @@ class Helper {
* @return bool true on success, false otherwise
*/
static public function deleteServerConfiguration($prefix) {
- //just to be on the safe side
- \OCP\User::checkAdminUser();
-
if(!in_array($prefix, self::getServerConfigurationPrefixes())) {
return false;
}