summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-07-27 19:25:49 +0200
committerJakob Sack <kde@jakobsack.de>2011-07-27 19:25:49 +0200
commit2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952 (patch)
treef7a829d8bc67c364a8b77c02cb875fc0c33934a4 /apps/user_ldap
parentf5c0dbd947d45520550b68dae77a894f871a0758 (diff)
downloadnextcloud-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.php1
-rw-r--r--apps/user_ldap/user_ldap.php2
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;