summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-11 09:18:14 -0800
committerLukas Reschke <lukas@statuscode.ch>2013-01-11 09:18:14 -0800
commitb6e0842f4cf701fc45ea5a5a6c3e54aa976a5206 (patch)
tree6d490865581c700221a05ef3c51e689c5317b5b8
parent507d4aa129c3dbe122cc91a36ead6724136206be (diff)
parent9b9f5b1a8ac6b08c7d9220f5581344c7bc9cdfce (diff)
downloadnextcloud-server-b6e0842f4cf701fc45ea5a5a6c3e54aa976a5206.tar.gz
nextcloud-server-b6e0842f4cf701fc45ea5a5a6c3e54aa976a5206.zip
Merge pull request #1155 from owncloud/remove-setContentTypeHeader
Remove setContentTypeHeader()
-rw-r--r--settings/ajax/disableapp.php1
-rw-r--r--settings/ajax/enableapp.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/settings/ajax/disableapp.php b/settings/ajax/disableapp.php
index a39b06b9c7d..e89de928eac 100644
--- a/settings/ajax/disableapp.php
+++ b/settings/ajax/disableapp.php
@@ -1,7 +1,6 @@
<?php
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
-OC_JSON::setContentTypeHeader();
OC_App::disable($_POST['appid']);
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php
index f4d5c53adef..18202dc39e9 100644
--- a/settings/ajax/enableapp.php
+++ b/settings/ajax/enableapp.php
@@ -2,7 +2,6 @@
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
-OC_JSON::setContentTypeHeader();
$appid = OC_App::enable($_POST['appid']);
if($appid !== false) {