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 | |
parent | f5c0dbd947d45520550b68dae77a894f871a0758 (diff) | |
download | nextcloud-server-2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952.tar.gz nextcloud-server-2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952.zip |
Delete requires in applications where possible
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_publiclink/admin.php | 1 | ||||
-rw-r--r-- | apps/files_publiclink/get.php | 1 | ||||
-rw-r--r-- | apps/media/index.php | 1 | ||||
-rw-r--r-- | apps/media/settings.php | 1 | ||||
-rw-r--r-- | apps/user_ldap/settings.php | 1 | ||||
-rw-r--r-- | apps/user_ldap/user_ldap.php | 2 | ||||
-rw-r--r-- | apps/user_openid/phpmyid.php | 3 | ||||
-rw-r--r-- | apps/user_openid/settings.php | 1 | ||||
-rw-r--r-- | apps/user_openid/user_openid.php | 1 |
9 files changed, 0 insertions, 12 deletions
diff --git a/apps/files_publiclink/admin.php b/apps/files_publiclink/admin.php index afb726da312..9a1a9ce03c2 100644 --- a/apps/files_publiclink/admin.php +++ b/apps/files_publiclink/admin.php @@ -25,7 +25,6 @@ // Init owncloud require_once('../../lib/base.php'); require_once( 'lib_public.php' ); -require( 'template.php' ); // Check if we are a user diff --git a/apps/files_publiclink/get.php b/apps/files_publiclink/get.php index d3e3022e761..3bc961bc37d 100644 --- a/apps/files_publiclink/get.php +++ b/apps/files_publiclink/get.php @@ -3,7 +3,6 @@ $RUNTIME_NOAPPS=true; //no need to load the apps $RUNTIME_NOSETUPFS=true; //don't setup the fs yet require_once '../../lib/base.php'; -require( 'template.php' ); require_once 'lib_public.php'; diff --git a/apps/media/index.php b/apps/media/index.php index 26e008acab5..fbf1c395d99 100644 --- a/apps/media/index.php +++ b/apps/media/index.php @@ -32,7 +32,6 @@ if( !OC_USER::isLoggedIn()){ require_once('lib_collection.php'); require_once('lib_scanner.php'); -require_once('template.php'); OC_UTIL::addScript('media','player'); OC_UTIL::addScript('media','music'); diff --git a/apps/media/settings.php b/apps/media/settings.php index 30276601a2d..4bd9acfd80b 100644 --- a/apps/media/settings.php +++ b/apps/media/settings.php @@ -29,7 +29,6 @@ if( !OC_USER::isLoggedIn()){ exit(); } -require( 'template.php' ); require( 'lib_collection.php' ); OC_UTIL::addStyle('media','style'); 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; diff --git a/apps/user_openid/phpmyid.php b/apps/user_openid/phpmyid.php index 146eb380f73..f35e6811b84 100644 --- a/apps/user_openid/phpmyid.php +++ b/apps/user_openid/phpmyid.php @@ -12,9 +12,6 @@ * @version 0.9 */ -require( 'template.php' ); - - /** * Set a constant to indicate that phpMyID is running */ diff --git a/apps/user_openid/settings.php b/apps/user_openid/settings.php index 76316de100c..29c18eaa497 100644 --- a/apps/user_openid/settings.php +++ b/apps/user_openid/settings.php @@ -1,7 +1,6 @@ <?php require_once('../../lib/base.php'); -require( 'template.php' ); if( !OC_USER::isLoggedIn()){ header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); diff --git a/apps/user_openid/user_openid.php b/apps/user_openid/user_openid.php index ddf5cc9bc23..c18edccf2db 100644 --- a/apps/user_openid/user_openid.php +++ b/apps/user_openid/user_openid.php @@ -21,7 +21,6 @@ * */ -require_once('User/backend.php'); require_once('class.openid.v3.php'); /** |