mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Fixed enabled() usage (regression from last commit)
This commit is contained in:
parent
8bbc14ee23
commit
747059b6b7
@ -236,7 +236,7 @@ class GoogleSitemap {
|
|||||||
* @return string Response text
|
* @return string Response text
|
||||||
*/
|
*/
|
||||||
public static function ping() {
|
public static function ping() {
|
||||||
if(!self::$enabled) {
|
if(!self::enabled()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user