summaryrefslogtreecommitdiffstats
path: root/settings/ajax/disableapp.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/disableapp.php')
-rw-r--r--settings/ajax/disableapp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/disableapp.php b/settings/ajax/disableapp.php
index 53e9be379e1..859c293722b 100644
--- a/settings/ajax/disableapp.php
+++ b/settings/ajax/disableapp.php
@@ -1,6 +1,6 @@
<?php
// Init owncloud
-require_once('../../lib/base.php');
+
OC_JSON::checkAdminUser();
OC_JSON::setContentTypeHeader();