diff options
Diffstat (limited to 'settings/ajax/enableapp.php')
-rw-r--r-- | settings/ajax/enableapp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php index eb1bfc54a04..8be80cd2ece 100644 --- a/settings/ajax/enableapp.php +++ b/settings/ajax/enableapp.php @@ -2,7 +2,7 @@ // Init owncloud require_once('../../lib/base.php'); -header( "Content-Type: application/jsonrequest" ); +OC_JSON::setContentTypeHeader(); OC_App::enable($_POST['appid']); |