Remove forced download

This commit is contained in:
Lukas Reschke 2012-07-02 12:20:43 +02:00
parent f5e0e5587d
commit 90331a3fa1
1 changed files with 0 additions and 2 deletions

View 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;
}
}