Commit 757708f3 authored by robin.ingelbrecht's avatar robin.ingelbrecht Committed by RenatoG
Browse files

Issue #2831733 by robin.ingelbrecht, Cyberwolf, kalpaitch, TheodorosPloumis,...

Issue #2831733 by robin.ingelbrecht, Cyberwolf, kalpaitch, TheodorosPloumis, RenatoG: xmlsitemap_file_transfer coincides with hook name provided by file_entity
parent 55bea8db
......@@ -2256,7 +2256,7 @@ function xmlsitemap_output_file(Response $response, $file, array $headers = [])
'Cache-Control' => 'must-revalidate',
'X-Robots-Tag' => 'noindex, follow',
];
$response = xmlsitemap_file_transfer($response, $file, $headers);
$response = xmlsitemap_transfer_file($response, $file, $headers);
return $response;
}
......@@ -2278,7 +2278,7 @@ function xmlsitemap_output_file(Response $response, $file, array $headers = [])
*
* @codingStandardsIgnoreStart
*/
function xmlsitemap_file_transfer(Response $response, $uri, $headers) {
function xmlsitemap_transfer_file(Response $response, $uri, $headers) {
// @codingStandardsIgnoreEnd
if (ob_get_level()) {
ob_end_clean();
......
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