Issue #2853160 by hgoto, RenatoG: Variable $name is defined but not used in file_get_content_headers()
parent
8a09ddd4e3
commit
f72778cff5
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue