Change remaining references to 'Sitemap' to 'GoogleSitemap'

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@46088 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-12-02 21:22:43 +00:00
parent dd0f2f72be
commit 59c8237efd

View File

@ -493,9 +493,7 @@ JS;
$record->write();
$record->publish("Stage", "Live");
//TODO: This has been fixed in 2.2-rc2 and need to be merged back to trunk,
// for now just comment it out.
//Sitemap::ping();
GoogleSitemap::ping();
// Fix the sort order for this page's siblings
DB::query("UPDATE SiteTree_Live
@ -721,7 +719,7 @@ HTML;
$page->Status = "Unpublished";
$page->write();
Sitemap::ping();
GoogleSitemap::ping();
return $this->tellBrowserAboutPublicationChange($page, sprintf(_t('CMSMain.REMOVEDPAGE',"Removed '%s' from the published site"),$page->Title));
}