summaryrefslogtreecommitdiffstats
path: root/lib/json.php
diff options
context:
space:
mode:
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;
}
}