Skip to content

Commit

Permalink
Item12952: debug removed
Browse files Browse the repository at this point in the history
  • Loading branch information
crawford committed Sep 2, 2014
1 parent cdbfbad commit 567560b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/lib/Foswiki/Configure/Wizards/Save.pm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ sub save {
my $old_content;
my $orig_content; # used so diff detects remapping of keys
my %changeLog;

die unless $Foswiki::cfg{SMTP}{MAILHOST};
my $root = Foswiki::Configure::Root->new();
Foswiki::Configure::LoadSpec::readSpec($root);

Expand Down Expand Up @@ -209,8 +209,7 @@ sub save {
delete $Foswiki::cfg{ConfigurationFinished};
my $new_content =
STD_HEADER . join( '', _spec_dump( $root, \%Foswiki::cfg, '' ) ) . "1;\n";
print $new_content;
exit 1;

if ( $new_content ne $old_content ) {
my $um = umask(007); # Contains passwords, no world access to new file
open( F, '>', $lsc )
Expand Down

0 comments on commit 567560b

Please sign in to comment.