Remove dead code

master
Heuzef 5 years ago
parent 776672d104
commit 33f48b770a
  1. 5
      Check.pm

@ -73,11 +73,6 @@ sub action
$reasonHilite = $Conf{CgiStatusHilightColor}{$Status{$host}{reason}} || $Conf{CgiStatusHilightColor}{$Status{$host}{state}};
$reasonHilite = " bgcolor=\"$reasonHilite\"" if ( $reasonHilite ne "" );
if ( $tempState ne "Status_backup_in_progress" && $tempState ne "Status_restore_in_progress" && $Conf{BackupsDisable} == 0 && $Status{$host}{error} ne "" ) {
($shortErr = $Status{$host}{error}) =~ s/(.{48}).*/$1.../;
$shortErr = " ($shortErr)";
}
# Check Size Consistency
my $new_size = 0;
my $new_size_avg = 0;

Loading…
Cancel
Save