mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Delete invalid service elements.
(cherry picked from commit d5c5e04463a6b0f5d7f047addfdceae3238b444b)
This commit is contained in:
parent
656bcb8ba3
commit
8a95b03f05
@ -222,6 +222,9 @@ sub pandora_purgedb ($$) {
|
|||||||
# Delete policy queue data
|
# Delete policy queue data
|
||||||
enterprise_hook("pandora_purge_policy_queue", [$dbh, $conf]);
|
enterprise_hook("pandora_purge_policy_queue", [$dbh, $conf]);
|
||||||
|
|
||||||
|
# Delete policy queue data
|
||||||
|
enterprise_hook("pandora_purge_service_elements", [$dbh, $conf]);
|
||||||
|
|
||||||
# Delete GIS data
|
# Delete GIS data
|
||||||
$conf->{'_gis_purge'}= 15 if (!defined($conf->{'_gis_purge'}));
|
$conf->{'_gis_purge'}= 15 if (!defined($conf->{'_gis_purge'}));
|
||||||
log_message ('PURGE', "Deleting old GIS data (More than " . $conf->{'_gis_purge'} . " days).");
|
log_message ('PURGE', "Deleting old GIS data (More than " . $conf->{'_gis_purge'} . " days).");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user