diff --git a/includes/file.inc b/includes/file.inc index 6a580c3ef86..fafc33da53a 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -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(