Skip to content

Commit

Permalink
Item13328: Remove old Foswiki 1.0 migration code
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Mar 27, 2015
1 parent 97d2aab commit e97de49
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions core/lib/Foswiki/Configure/Checkers/Log/Dir.pm
Expand Up @@ -41,22 +41,13 @@ sub check_current_value {
my $e = Foswiki::Configure::FileUtil::checkCanCreateFile("$ld/tmp.log");
$reporter->ERROR($e) if $e;

# Automatic upgrade of script action logging
foreach my $a ( keys %{ $Foswiki::cfg{Log}{Action} } ) {
next unless ( defined $Foswiki::cfg{Log}{$a} );
$Foswiki::cfg{Log}{Action}{$a} = $Foswiki::cfg{Log}{$a};
delete $Foswiki::cfg{Log}{$a};
$reporter->WARN(
"Deprecated \$Foswiki::cfg{Log}{$a} setting should be removed from lib/LocalSite.cfg"
);
}
}

1;
__END__
Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Copyright (C) 2008-2010 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2008-2015 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 e97de49

Please sign in to comment.