1
0
mirror of https://github.com/wilr/silverstripe-googlesitemaps.git synced 2024-10-22 09:05:48 +00:00

Fixed enabled() usage (regression from last commit)

This commit is contained in:
Ingo Schommer 2013-01-17 17:20:50 +01:00
parent 8bbc14ee23
commit 747059b6b7

@ -236,7 +236,7 @@ class GoogleSitemap {
* @return string Response text
*/
public static function ping() {
if(!self::$enabled) {
if(!self::enabled()) {
return false;
}