mirror of https://github.com/mikaku/Monitorix.git
move settings to emailreports section
This commit is contained in:
parent
f857e80ce4
commit
a8cb8ebf4d
|
@ -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}}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue