Issue #2853160 by hgoto, RenatoG: Variable $name is defined but not used in file_get_content_headers()

merge-requests/26/head
David Rothstein 2017-06-06 03:30:37 -04:00
parent 8a09ddd4e3
commit f72778cff5
1 changed files with 0 additions and 1 deletions

View File

@ -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(