Skip to content

Commit 1e31c01

Browse files
bastienlmcolinmollenhour
authored andcommitted
Sitemap dispatch event to add custom data // Rename dispatch event (#468)
1 parent b5d554d commit 1e31c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Sitemap/Model/Sitemap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function generateXml()
221221
}
222222
unset($collection);
223223

224-
Mage::dispatchEvent('sitemap_generate_before', array(
224+
Mage::dispatchEvent('sitemap_urlset_generating_before', array(
225225
'file' => $io ,
226226
'base_url' => $baseUrl ,
227227
'date' => $date,

0 commit comments

Comments
 (0)