summaryrefslogtreecommitdiffstats
path: root/settings/ajax
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/ajax
parentdaf41885e5481b80b15b4b2987f071608b7ad235 (diff)
downloadnextcloud-server-ebb28412ca47889019aa4c0f278fe3b9097996f8.tar.gz
nextcloud-server-ebb28412ca47889019aa4c0f278fe3b9097996f8.zip
no more require_once()
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/disableapp.php2
-rw-r--r--settings/ajax/enableapp.php2
-rw-r--r--settings/ajax/togglesubadmins.php2
3 files changed, 3 insertions, 3 deletions
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();