From 0465129eba282ffcd0739569bb15494b34035b9a Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 2 Jul 2012 12:19:48 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20the=20forced=20download=C2=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/json.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/json.php b/lib/json.php index de655ebf33..78fbf56436 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; } }