From 90331a3fa1c2bd7c1ec5efb6b9f55d02d1ffe273 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 2 Jul 2012 12:20:43 +0200 Subject: [PATCH] Remove forced download --- lib/json.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/json.php b/lib/json.php index 7cd9ba371d..c49b831c12 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; } }