Remove the forced download§

remotes/origin/stable4
Lukas Reschke 13 years ago
parent 47bad20132
commit 0465129eba
  1. 2
      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;
}
}

Loading…
Cancel
Save