diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-28 13:57:45 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-28 13:57:45 +0200 |
commit | c79a529edda3992bffc9e7dd1c7949f42c3b8f57 (patch) | |
tree | 17da093d9549385d1e1e2453ad86eb516d0c255e /apps/user_ldap/appinfo/update.php | |
parent | b14f2d0388601879b69a0d43a576b068ae412ea8 (diff) | |
download | nextcloud-server-c79a529edda3992bffc9e7dd1c7949f42c3b8f57.tar.gz nextcloud-server-c79a529edda3992bffc9e7dd1c7949f42c3b8f57.zip |
remove not needed includes
Diffstat (limited to 'apps/user_ldap/appinfo/update.php')
-rw-r--r-- | apps/user_ldap/appinfo/update.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/user_ldap/appinfo/update.php b/apps/user_ldap/appinfo/update.php index b3f7a397db9..dc437ce21ce 100644 --- a/apps/user_ldap/appinfo/update.php +++ b/apps/user_ldap/appinfo/update.php @@ -16,9 +16,6 @@ $state = OCP\Config::getSystemValue('ldapIgnoreNamingRules', 'doCheck'); if($state == 'doCheck'){ $sqlCleanMap = 'DELETE FROM *PREFIX*ldap_user_mapping'; - require_once(OC::$APPSROOT.'/apps/user_ldap/lib_ldap.php'); - require_once(OC::$APPSROOT.'/apps/user_ldap/user_ldap.php'); - OCP\Config::setSystemValue('ldapIgnoreNamingRules', true); $LDAP_USER = new OC_USER_LDAP(); $users_old = $LDAP_USER->getUsers(); @@ -33,4 +30,4 @@ if($state == 'doCheck'){ //we don't need to check Groups, because they were not supported in 3' OCP\Config::setSystemValue('ldapIgnoreNamingRules', true); } -}
\ No newline at end of file +} |