Skip to content
Snippets Groups Projects

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

Merged Arthur Suzuki requested to merge minifix_sitemap into master
Compare and
1 file
+ 2
2
Preferences
Compare changes
+ 2
2
@@ -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;
}