mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-03 12:04:57 +02:00
Ent 6466 borrado de eventos con pandora db
This commit is contained in:
parent
be011424ff
commit
7cd56b6f94
@ -1011,7 +1011,7 @@ sub pandoradb_main ($$$) {
|
|||||||
# Move old data to the history DB
|
# Move old data to the history DB
|
||||||
if (defined ($history_dbh)) {
|
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'}]));
|
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'})) {
|
if (defined($conf{'_history_event_enabled'}) && $conf->{'_history_event_enabled'} ne "" && $conf->{'_history_event_enabled'} == 1) {
|
||||||
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'}]));
|
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'}]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user