Add audit log cleanup/retention period to cron

Audit logs will be automatically cleaned up after 90 days (new installs) or 7 years (existing installs). This is configurable in Settings > Security.
This commit is contained in:
Marcus Hill
2024-06-30 11:51:39 +01:00
parent cc38c642c5
commit 8db9822f63
7 changed files with 36 additions and 10 deletions

View File

@@ -113,6 +113,7 @@ $config_login_message = $row['config_login_message'];
$config_login_key_required = $row['config_login_key_required'];
$config_login_key_secret = $row['config_login_key_secret'];
$config_login_remember_me_expire = intval($row['config_login_remember_me_expire']);
$config_log_retention = intval($row['config_log_retention']);
// Locale
$config_currency_format = "US_en";