diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-07-02 12:20:43 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-07-02 12:20:43 +0200 |
commit | 90331a3fa1c2bd7c1ec5efb6b9f55d02d1ffe273 (patch) | |
tree | e9cd4b9bb9b09aab1047ffcafdab8a3822505727 /lib/json.php | |
parent | f5e0e5587d506129cf83cce337523a8c3d387856 (diff) | |
download | nextcloud-server-90331a3fa1c2bd7c1ec5efb6b9f55d02d1ffe273.tar.gz nextcloud-server-90331a3fa1c2bd7c1ec5efb6b9f55d02d1ffe273.zip |
Remove forced download
Diffstat (limited to 'lib/json.php')
-rw-r--r-- | lib/json.php | 2 |
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; } } |