Skip to content

Commit

Permalink
Issue #2853160 by hgoto, smaaz: Variable $name is defined but not use…
Browse files Browse the repository at this point in the history
…d in file_get_content_headers()
  • Loading branch information
DavidRothstein committed Jun 6, 2017
1 parent c58a1f1 commit 8238d81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/file.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2563,7 +2563,6 @@ function file_directory_temp() {
* An associative array of headers, as expected by file_transfer().
*/
function file_get_content_headers($file) {
$name = mime_header_encode($file->filename);
$type = mime_header_encode($file->filemime);

return array(
Expand Down

0 comments on commit 8238d81

Please sign in to comment.