fixed minor error

(cherry picked from commit 790b8bab6e)
This commit is contained in:
daniel 2017-01-03 08:31:27 +01:00
parent 4c21746c5a
commit 0205bf3914
1 changed files with 0 additions and 1 deletions

View File

@ -1046,7 +1046,6 @@ sub pandoradb_main ($$$) {
if (defined ($history_dbh)) {
undef ($history_dbh) unless defined (enterprise_hook ('pandora_historydb', [$dbh, $history_dbh, $conf->{'_history_db_days'}, $conf->{'_history_db_step'}, $conf->{'_history_db_delay'}]));
if (defined($conf{'_history_event_enabled'})) {
log_message ('', "Entrando a los eventoss :::: " . $conf->{'_history_event_days'} . "\n");
undef ($history_dbh) unless defined (enterprise_hook ('pandora_history_event', [$dbh, $history_dbh, $conf->{'_history_event_days'}, $conf->{'_history_db_step'}, $conf->{'_history_db_delay'}]));
}
}