Skip to content
Snippets Groups Projects
Commit 608048a0 authored by Arthur Suzuki's avatar Arthur Suzuki
Browse files

Merge branch 'minifix_sitemap' into 'master'

fix Class/Sitemap.php : mkdir doesn't return $this

See merge request !4825
parents 2df629e6 ed5b5264
1 merge request!4825fix Class/Sitemap.php : mkdir doesn't return $this
Pipeline #25729 passed with stage
in 14 minutes and 17 seconds
......@@ -110,8 +110,8 @@ class Class_Sitemap {
$this->xml->appendChild($urlset);
$this->file_system->mkdir(PATH_TEMP)
->filePutContents(static::getSitemapPath(),
$this->file_system->mkdir(PATH_TEMP);
$this->file_system->filePutContents(static::getSitemapPath(),
$this->xml->saveXML());
return $this;
}
......
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