diff --git a/code/GoogleSitemapDecorator.php b/code/GoogleSitemapDecorator.php index 8734e22..2c2fd31 100644 --- a/code/GoogleSitemapDecorator.php +++ b/code/GoogleSitemapDecorator.php @@ -61,11 +61,11 @@ class GoogleSitemapDecorator extends SiteTreeDecorator { } function onAfterPublish() { - GoogleSiteMap::ping(); + GoogleSitemap::ping(); } function onAfterUnpublish() { - GoogleSiteMap::ping(); + GoogleSitemap::ping(); } /**