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

index 7cd9ba371d75464f3f583d2e3de6ca4c43bdefbc..c49b831c12bd18fb7af7d5fa040dd26c9c593dd8 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;
                }
        }