From 747059b6b76672d92fa3f4de69b34279e8c2e55c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 17 Jan 2013 17:20:50 +0100 Subject: [PATCH] Fixed enabled() usage (regression from last commit) --- code/GoogleSitemap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index b5d366b..2d077d3 100644 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -236,7 +236,7 @@ class GoogleSitemap { * @return string Response text */ public static function ping() { - if(!self::$enabled) { + if(!self::enabled()) { return false; }