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
This commit is contained in:
Andrew O'Neil 2007-12-02 21:22:43 +00:00
parent f02ba8d1cb
commit 9b4dabc331

View File

@ -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;