Merge branch '1089-Incluir-borrado-de-entradas-en-tgraph_source-al-pandora_db-dev' into 'develop'
Delete old tgraph_source data See merge request !806
This commit is contained in:
commit
49f7168e1b
|
@ -431,6 +431,9 @@ sub pandora_purgedb ($$) {
|
||||||
WHERE date < CURDATE() - $conf->{'_num_past_special_days'} AND date > '0001-01-01'");
|
WHERE date < CURDATE() - $conf->{'_num_past_special_days'} AND date > '0001-01-01'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Delete old tgraph_source data
|
||||||
|
db_do ($dbh,"DELETE FROM tgraph_source WHERE id_graph NOT IN (SELECT id_graph FROM tgraph)");
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in New Issue