3650) { $purge_audit_table_after_days = absint(AIOWPS_AUDIT_LOG_DEFAULT_RETENTION); } // Purge audit logs when retention is not set to "No cleanup" (0). if ($purge_audit_table_after_days > 0) { $audit_table_name = AIOWPSEC_TBL_AUDIT_LOG; AIOWPSecurity_Utility::purge_table_records($audit_table_name, $purge_audit_table_after_days, 'created'); } // Delete any expired _aiowps_captcha_string_info_xxxx option. AIOWPSecurity_Utility::delete_expired_captcha_options(); //Keep adding other DB cleanup tasks as they arise... } }