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 {