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
|
||||
*/
|
||||
public static function ping() {
|
||||
if(!self::$enabled) {
|
||||
if(!self::enabled()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue