mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fix pandora_db string data purge
This commit is contained in:
parent
ec95400043
commit
4fc33ec58b
@ -178,7 +178,7 @@ sub pandora_purgedb ($$) {
|
|||||||
|
|
||||||
if ($conf->{'_string_purge'} > 0) {
|
if ($conf->{'_string_purge'} > 0) {
|
||||||
$ulimit_access_timestamp = time() - 86400;
|
$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);
|
pandora_delete_old_module_data ($dbh, 'tagente_datos_string', $ulimit_access_timestamp, $ulimit_timestamp);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user