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:
Andrew O'Neil 2007-10-25 01:10:31 +00:00
parent 5e41feeca1
commit 5b7301b2db

View File

@ -476,7 +476,7 @@ JS;
$record->write(); $record->write();
$record->publish("Stage", "Live"); $record->publish("Stage", "Live");
Sitemap::Ping(); Sitemap::ping();
// Fix the sort order for this page's siblings // Fix the sort order for this page's siblings
DB::query("UPDATE SiteTree_Live DB::query("UPDATE SiteTree_Live
@ -702,7 +702,7 @@ HTML;
$page->Status = "Unpublished"; $page->Status = "Unpublished";
$page->write(); $page->write();
Sitemap::Ping(); Sitemap::ping();
return $this->tellBrowserAboutPublicationChange($page, sprintf(_t('CMSMain.REMOVEDPAGE',"Removed '%s' from the published site"),$page->Title)); return $this->tellBrowserAboutPublicationChange($page, sprintf(_t('CMSMain.REMOVEDPAGE',"Removed '%s' from the published site"),$page->Title));
} }