Skip to content

Commit

Permalink
Item12952: Wrong switch checked in Checker
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Oct 8, 2014
1 parent 56b180e commit d6d6339
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/Foswiki/Configure/Checkers/Cache/Debug.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ use Foswiki::Configure::Checker ();
our @ISA = ('Foswiki::Configure::Checker');

sub check_current_value {
my ($this, $reporter) = @_;
my ( $this, $reporter ) = @_;

return unless $Foswiki::cfg{Cache}{Enabled};
return unless $Foswiki::cfg{Cache}{Debug};
$reporter->WARN('Debugging enabled. This can impact performances');
}

1;
__END__
Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Copyright (C) 2008-2010 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2008-2014 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
Expand Down

0 comments on commit d6d6339

Please sign in to comment.