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 /admin | |
parent | f5c0dbd947d45520550b68dae77a894f871a0758 (diff) | |
download | nextcloud-server-2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952.tar.gz nextcloud-server-2f807a3c7f6e5a3a8a8e8317a3b3b627d3d68952.zip |
Delete requires in applications where possible
Diffstat (limited to 'admin')
-rw-r--r-- | admin/apps.php | 2 | ||||
-rw-r--r-- | admin/system.php | 1 | ||||
-rw-r--r-- | admin/users.php | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/admin/apps.php b/admin/apps.php index bc598a6991e..4bbf1c813b0 100644 --- a/admin/apps.php +++ b/admin/apps.php @@ -22,8 +22,6 @@ */ require_once('../lib/base.php'); -include_once('../lib/installer.php'); -require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( OC_USER::getUser(), 'admin' )){ header( "Location: ".OC_HELPER::linkTo( "", "index.php" )); exit(); diff --git a/admin/system.php b/admin/system.php index 284509144ee..9286ab9c2b3 100644 --- a/admin/system.php +++ b/admin/system.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" )); exit(); diff --git a/admin/users.php b/admin/users.php index 8237d06da0b..4065cc471f1 100644 --- a/admin/users.php +++ b/admin/users.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" )); exit(); |