Commit 49684868 authored by amateescu's avatar amateescu

Don't send response headers twice, fixes the last test fail.

parent 4e27b4a1
......@@ -2233,7 +2233,7 @@ function xmlsitemap_file_transfer(Response $response, $uri, $headers) {
foreach ($headers as $name => $value) {
$response->headers->set($name, $value);
}
$response->sendHeaders();
$content = '';
// Attempt to increase time to transfer file.
drupal_set_time_limit(240);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment