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 /docs | |
parent | f5c0dbd947d45520550b68dae77a894f871a0758 (diff) | |
download | nextcloud-server-2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952.tar.gz nextcloud-server-2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952.zip |
Delete requires in applications where possible
Diffstat (limited to 'docs')
-rw-r--r-- | docs/skeleton/admin.php | 3 | ||||
-rw-r--r-- | docs/skeleton/index.php | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/docs/skeleton/admin.php b/docs/skeleton/admin.php index aaf6136692d..723c7f7612b 100644 --- a/docs/skeleton/admin.php +++ b/docs/skeleton/admin.php @@ -31,9 +31,6 @@ require_once('../lib/base.php'); // We need the file system although we said do not load it! Do it by hand now OC_UTIL::setupFS(); -// We load OC_TEMPLATE, too. This one is not loaded by base -require( 'template.php' ); - // The user should have admin rights. This is an admin page! if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){ // Bad boy! Go to the very first page of owncloud diff --git a/docs/skeleton/index.php b/docs/skeleton/index.php index 6d237ed6152..5402990e4c9 100644 --- a/docs/skeleton/index.php +++ b/docs/skeleton/index.php @@ -24,7 +24,6 @@ // Init owncloud require_once('../lib/base.php'); -require( 'template.php' ); // Check if we are a user if( !OC_USER::isLoggedIn()){ |