From 9b4dabc3310bf2caac88c890add85fd8d26324e9 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Sun, 2 Dec 2007 21:22:43 +0000 Subject: [PATCH] Change remaining references to 'Sitemap' to 'GoogleSitemap' git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46088 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- misc/GoogleSitemap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/GoogleSitemap.php b/misc/GoogleSitemap.php index e8ab3b297..44f002a74 100755 --- a/misc/GoogleSitemap.php +++ b/misc/GoogleSitemap.php @@ -61,7 +61,7 @@ class GoogleSitemap extends Controller { static function ping() { //Don't ping if the site has disabled it, or if the site is in dev mode - if(!Sitemap::$pings || Director::isDev()) + if(!GoogleSitemap::$pings || Director::isDev()) return; $location = urlencode(Director::absoluteBaseURL() . '/sitemap.xml'); @@ -77,7 +77,7 @@ class GoogleSitemap extends Controller { /** * Disables pings to google when the sitemap changes * To use this, in your _config.php file simply include the line - * Sitemap::DisableGoogleNotification(); + * GoogleSitemap::DisableGoogleNotification(); */ static function DisableGoogleNotification() { self::$pings = false;