mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
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:
parent
dd0f2f72be
commit
59c8237efd
@ -492,10 +492,8 @@ JS;
|
||||
//$record->PublishedByID = Member::currentUser()->ID;
|
||||
$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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user