summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-09-05 23:28:59 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2012-09-05 23:28:59 +0200
commitebb28412ca47889019aa4c0f278fe3b9097996f8 (patch)
treecdb3f96d96d2076b2f7f1c32ad0d382f72ee3742 /settings
parentdaf41885e5481b80b15b4b2987f071608b7ad235 (diff)
downloadnextcloud-server-ebb28412ca47889019aa4c0f278fe3b9097996f8.tar.gz
nextcloud-server-ebb28412ca47889019aa4c0f278fe3b9097996f8.zip
no more require_once()
Diffstat (limited to 'settings')
-rwxr-xr-xsettings/admin.php2
-rw-r--r--settings/ajax/disableapp.php2
-rw-r--r--settings/ajax/enableapp.php2
-rw-r--r--settings/ajax/togglesubadmins.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 8788de940b3..351c8a3fff1 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -5,7 +5,7 @@
* See the COPYING-README file.
*/
-require_once('../lib/base.php');
+require_once '../lib/base.php';
OC_Util::checkAdminUser();
OC_Util::addStyle( "settings", "settings" );
diff --git a/settings/ajax/disableapp.php b/settings/ajax/disableapp.php
index cc006988707..977a536af21 100644
--- a/settings/ajax/disableapp.php
+++ b/settings/ajax/disableapp.php
@@ -1,6 +1,6 @@
<?php
// Init owncloud
-require_once('../../lib/base.php');
+require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php
index fe3922fa02b..b9cf6a13670 100644
--- a/settings/ajax/enableapp.php
+++ b/settings/ajax/enableapp.php
@@ -1,7 +1,7 @@
<?php
// Init owncloud
-require_once('../../lib/base.php');
+require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();
diff --git a/settings/ajax/togglesubadmins.php b/settings/ajax/togglesubadmins.php
index 42db8450302..82bb6ac45f3 100644
--- a/settings/ajax/togglesubadmins.php
+++ b/settings/ajax/togglesubadmins.php
@@ -1,7 +1,7 @@
<?php
// Init owncloud
-require_once('../../lib/base.php');
+require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();