summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/helper.php
diff options
context:
space:
mode:
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;
}