refactors audit notification to mail, adds test, ads check to scheduler
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user