Skip to content

Commit

Permalink
Fixed enabled() usage (regression from last commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jan 17, 2013
1 parent 8bbc14e commit 747059b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/GoogleSitemap.php
Expand Up @@ -236,7 +236,7 @@ public static function get_sitemaps() {
* @return string Response text
*/
public static function ping() {
if(!self::$enabled) {
if(!self::enabled()) {
return false;
}

Expand Down

1 comment on commit 747059b

@wilr
Copy link
Owner

@wilr wilr commented on 747059b Jan 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops. thanks Ingo. Slipped through.

Please sign in to comment.