Skip to content

Commit

Permalink
Merge pull request #1473 from sprankhub/patch-2
Browse files Browse the repository at this point in the history
fixed MageWorx_XSitemap compatibility
  • Loading branch information
miguelbalparda authored Aug 21, 2018
2 parents 06369d4 + 37b0639 commit 66c78fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/community/Nexcessnet/Turpentine/Helper/Cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function getAllUrls() {
}
}
$sitemap = (Mage::getConfig()->getNode('modules/MageWorx_XSitemap') !== FALSE) ?
'xsitemap/cms_page' : 'sitemap/cms_page';
'mageworx_xsitemap/cms_page' : 'sitemap/cms_page';
foreach (Mage::getResourceModel($sitemap)
->getCollection($storeId) as $item) {
$urls[] = $baseUrl.$item->getUrl();
Expand Down

0 comments on commit 66c78fe

Please sign in to comment.