From 9b9f5b1a8ac6b08c7d9220f5581344c7bc9cdfce Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 11 Jan 2013 17:09:36 +0100 Subject: [PATCH] Remove setContentTypeHeader() `OC_JSON::success` and `OC_JSON::error` are calling `OC_JSON::encodedPrint`, which already sets these headers. So this two calls are uneeded duplicates. --- settings/ajax/disableapp.php | 1 - settings/ajax/enableapp.php | 1 - 2 files changed, 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 @@