refactors audit notification to mail, adds test, ads check to scheduler

This commit is contained in:
Godfrey M
2025-02-13 11:08:53 -08:00
parent c8f82cbc2b
commit ed96fd766c
4 changed files with 53 additions and 12 deletions
+6
View File
@@ -32,6 +32,12 @@ class Settings
'alert_threshold' => $days,
]);
}
public function setAuditWarningDays(int $days): Settings
{
return $this->update([
'audit_warning_days' => $days,
]);
}
public function disableAlertEmail(): Settings
{
return $this->update([