]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove the forced download§
authorLukas Reschke <lukas@statuscode.ch>
Mon, 2 Jul 2012 10:19:48 +0000 (12:19 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Mon, 2 Jul 2012 10:19:48 +0000 (12:19 +0200)
lib/json.php

index de655ebf33a410c5092b0babdfec0e1d78654563..78fbf56436632fbe0ef5b07d8f19caefe72e90df 100644 (file)
@@ -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;
                }
        }