Skip to content

Commit

Permalink
[TASK] Remove duplicate withHeader()
Browse files Browse the repository at this point in the history
Ports: #3736
  • Loading branch information
christophlehmann authored and dkd-kaehm committed Oct 10, 2023
1 parent 1848907 commit a7f7337
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ protected function exportFile(string $content, string $type = 'synonyms', string
->withHeader('Content-Type', 'text/plain; charset=utf-8')
->withHeader('Cache-control', 'public')
->withHeader('Content-Description', 'File transfer')
->withHeader('Content-Description', 'File transfer')
->withHeader(
'Content-disposition',
'attachment; filename =' . $type . '_' . $coreAdmin->getPrimaryEndpoint()->getCore() . '.' . $fileExtension
Expand Down

0 comments on commit a7f7337

Please sign in to comment.