Browse Source

Remove forced download

remotes/origin/stable5
Lukas Reschke 14 years ago
parent
commit
90331a3fa1
  1. 2
      lib/json.php

2
lib/json.php

@ -15,8 +15,6 @@ class OC_JSON{
if (!self::$send_content_type_header){ if (!self::$send_content_type_header){
// We send json data // We send json data
header( 'Content-Type: '.$type ); header( 'Content-Type: '.$type );
// Force download
header( 'Content-Disposition: attachment' );
self::$send_content_type_header = true; self::$send_content_type_header = true;
} }
} }

Loading…
Cancel
Save