mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Merge branch 'ent-5700-traza-ejecucion-pandora-db-tgraph-source' into 'develop'
Added log on deleting tgraph_source data in pandora_db See merge request artica/pandorafms!3721
This commit is contained in:
commit
cb6bb195b5
@ -404,8 +404,10 @@ sub pandora_purgedb ($$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Delete old tgraph_source data
|
# Delete old tgraph_source data
|
||||||
|
log_message ('PURGE', 'Deleting old tgraph_source data.');
|
||||||
db_do ($dbh,"DELETE FROM tgraph_source WHERE id_graph NOT IN (SELECT id_graph FROM tgraph)");
|
db_do ($dbh,"DELETE FROM tgraph_source WHERE id_graph NOT IN (SELECT id_graph FROM tgraph)");
|
||||||
|
|
||||||
|
|
||||||
# Delete network traffic old data.
|
# Delete network traffic old data.
|
||||||
log_message ('PURGE', 'Deleting old network matrix data.');
|
log_message ('PURGE', 'Deleting old network matrix data.');
|
||||||
if ($conf->{'_delete_old_network_matrix'} > 0) {
|
if ($conf->{'_delete_old_network_matrix'} > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user