diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-07-27 19:25:49 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-07-27 19:25:49 +0200 |
commit | 2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952 (patch) | |
tree | f7a829d8bc67c364a8b77c02cb875fc0c33934a4 /apps/user_ldap | |
parent | f5c0dbd947d45520550b68dae77a894f871a0758 (diff) | |
download | nextcloud-server-2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952.tar.gz nextcloud-server-2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952.zip |
Delete requires in applications where possible
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/settings.php | 1 | ||||
-rw-r--r-- | apps/user_ldap/user_ldap.php | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php index f7aff1b4614..8f9d282d2b1 100644 --- a/apps/user_ldap/settings.php +++ b/apps/user_ldap/settings.php @@ -22,7 +22,6 @@ */ require_once('../../lib/base.php'); -require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( OC_USER::getUser(), 'admin' )){ header( "Location: ".OC_HELPER::linkTo( "index.php" )); diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index a2fd48cdf06..a197c0a10e0 100644 --- a/apps/user_ldap/user_ldap.php +++ b/apps/user_ldap/user_ldap.php @@ -21,8 +21,6 @@ * */ -require_once('User/backend.php'); - class OC_USER_LDAP extends OC_USER_BACKEND { protected $ds; |