mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
GSOC #118 - Coding Conventions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43832 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5e41feeca1
commit
5b7301b2db
@ -476,7 +476,7 @@ JS;
|
||||
$record->write();
|
||||
$record->publish("Stage", "Live");
|
||||
|
||||
Sitemap::Ping();
|
||||
Sitemap::ping();
|
||||
|
||||
// Fix the sort order for this page's siblings
|
||||
DB::query("UPDATE SiteTree_Live
|
||||
@ -702,7 +702,7 @@ HTML;
|
||||
$page->Status = "Unpublished";
|
||||
$page->write();
|
||||
|
||||
Sitemap::Ping();
|
||||
Sitemap::ping();
|
||||
|
||||
return $this->tellBrowserAboutPublicationChange($page, sprintf(_t('CMSMain.REMOVEDPAGE',"Removed '%s' from the published site"),$page->Title));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user