Unverified Commit e866937d authored by Dave Reid's avatar Dave Reid
Browse files

Fixed error in log message starting regeneration batch.

parent 6be806d9
......@@ -161,9 +161,7 @@ class XmlSitemapGenerator implements XmlSitemapGeneratorInterface {
if ($this->state->get('xmlsitemap_developer_mode')) {
$this->logger->notice('Starting XML sitemap generation. Memory usage: @memory-peak.', [
[
'@memory-peak' => format_size(memory_get_peak_usage(TRUE)),
],
'@memory-peak' => format_size(memory_get_peak_usage(TRUE)),
]);
}
}
......
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