mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
Remove forced download
This commit is contained in:
parent
f5e0e5587d
commit
90331a3fa1
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Reference in a new issue