Delete invalid service elements.
(cherry picked from commit d5c5e04463
)
This commit is contained in:
parent
656bcb8ba3
commit
8a95b03f05
|
@ -222,6 +222,9 @@ sub pandora_purgedb ($$) {
|
|||
# Delete policy queue data
|
||||
enterprise_hook("pandora_purge_policy_queue", [$dbh, $conf]);
|
||||
|
||||
# Delete policy queue data
|
||||
enterprise_hook("pandora_purge_service_elements", [$dbh, $conf]);
|
||||
|
||||
# Delete GIS data
|
||||
$conf->{'_gis_purge'}= 15 if (!defined($conf->{'_gis_purge'}));
|
||||
log_message ('PURGE', "Deleting old GIS data (More than " . $conf->{'_gis_purge'} . " days).");
|
||||
|
|
Loading…
Reference in New Issue