Skip to content

Commit

Permalink
Item9232: correct checking for LocalSite.cfg existance
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@8042 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Jul 6, 2010
1 parent 1391d5d commit 4d44cea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki/Configure/Checkers/BasicSanity.pm
Expand Up @@ -22,6 +22,7 @@ sub new {
my $this = $class->SUPER::new($item);
$this->{LocalSiteDotCfg} = undef;
$this->{errors} = 0;
$this->{badLSC} = 0;

return $this;
}
Expand Down Expand Up @@ -49,7 +50,7 @@ Return true if LocalSite.cfg was found to be bad.

sub lscIsBad() {
my $this = shift;
return $this->{errors};
return $this->{badLSC};
}

# Override Foswiki::Configure::Checker
Expand Down

0 comments on commit 4d44cea

Please sign in to comment.