From 653d16293990aee021c218648d2844c201df92af Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 3 Jun 2010 01:34:52 +0000 Subject: [PATCH] MINOR pingStatus ping frequency reduced MINOR updated lang file for SiteConfig MINOR improved documentation in StaticPublisher MINOR improved documentation in CMSMain surrounding reports and siteconfig MINOR migrated headers in SiteConfig to i18n'd (from r86429) (from r99112) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106135 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSMain.php | 7 +++++++ code/staticpublisher/StaticPublisher.php | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/code/CMSMain.php b/code/CMSMain.php index 1b6a9e40..99c1752d 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -241,6 +241,13 @@ JS; return $result; } + /** + * Save the current sites {@link SiteConfig} into the database + * + * @param array $data + * @param Form $form + * @return FormResponse + */ function save_siteconfig($data, $form) { $siteConfig = SiteConfig::current_site_config(); $form->saveInto($siteConfig); diff --git a/code/staticpublisher/StaticPublisher.php b/code/staticpublisher/StaticPublisher.php index 95f70943..087b72a5 100644 --- a/code/staticpublisher/StaticPublisher.php +++ b/code/staticpublisher/StaticPublisher.php @@ -11,8 +11,10 @@ abstract class StaticPublisher extends DataObjectDecorator { */ static $echo_progress = false; - // Realtime static publishing... the second a page - // is saved, it is written to the cache + /** + * Realtime static publishing... the second a page + * is saved, it is written to the cache + */ // @todo this is currently disabled until template problems can be fixed static $disable_realtime = true;