summaryrefslogtreecommitdiffstats
path: root/lib/json.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-02 12:20:43 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-07-02 12:20:43 +0200
commit90331a3fa1c2bd7c1ec5efb6b9f55d02d1ffe273 (patch)
treee9cd4b9bb9b09aab1047ffcafdab8a3822505727 /lib/json.php
parentf5e0e5587d506129cf83cce337523a8c3d387856 (diff)
downloadnextcloud-server-90331a3fa1c2bd7c1ec5efb6b9f55d02d1ffe273.tar.gz
nextcloud-server-90331a3fa1c2bd7c1ec5efb6b9f55d02d1ffe273.zip
Remove forced download
Diffstat (limited to 'lib/json.php')
-rw-r--r--lib/json.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/json.php b/lib/json.php
index 7cd9ba371d7..c49b831c12b 100644
--- a/lib/json.php
+++ b/lib/json.php
@@ -15,8 +15,6 @@ class OC_JSON{
if (!self::$send_content_type_header){
// We send json data
header( 'Content-Type: '.$type );
- // Force download
- header( 'Content-Disposition: attachment' );
self::$send_content_type_header = true;
}
}