move settings to emailreports section

This commit is contained in:
Skibbi 2014-01-29 13:26:59 +01:00
parent f857e80ce4
commit a8cb8ebf4d
1 changed files with 2 additions and 2 deletions

View File

@ -561,8 +561,8 @@ while(1) {
# Email Reports
if(lc($config{emailreports}->{enabled}) eq "y") {
my $emailreports = $config{emailreports};
my $email_m = $config{email_report_minute};
my $email_h = $config{email_report_hour};
my $email_m = $emailreports->{minute};
my $email_h = $emailreports->{hour};
my $d = "emailreports";
undef($d) if(!grep {trim($_) eq $d} (@{$config{debug}}));