From 4fc33ec58bc04f68b391107f00ca111d802e003d Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Tue, 10 Oct 2017 11:26:04 +0200 Subject: [PATCH] Fix pandora_db string data purge --- pandora_server/util/pandora_db.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/util/pandora_db.pl b/pandora_server/util/pandora_db.pl index bcc3776366..7114bceb51 100644 --- a/pandora_server/util/pandora_db.pl +++ b/pandora_server/util/pandora_db.pl @@ -178,7 +178,7 @@ sub pandora_purgedb ($$) { if ($conf->{'_string_purge'} > 0) { $ulimit_access_timestamp = time() - 86400; - $ulimit_timestamp = time() - (86400 * $conf->{'_days_purge'}); + $ulimit_timestamp = time() - (86400 * $conf->{'_string_purge'}); pandora_delete_old_module_data ($dbh, 'tagente_datos_string', $ulimit_access_timestamp, $ulimit_timestamp); } else {