Clean up event handlers and other code.

This commit is contained in:
James Cole
2026-02-03 20:24:16 +01:00
parent ebb6a186cc
commit f2996dcebe
13 changed files with 245 additions and 354 deletions

View File

@@ -79,9 +79,7 @@ class TriggerController extends Controller
$groups = $job->getGroups();
$this->repository->markGroupsAsNow($groups);
$recurrence->latest_date = $backupDate;
$recurrence->latest_date_tz = $backupDate?->format('e');
$recurrence->save();
$recurrence = $this->repository->setLatestDate($recurrence, $backupDate);
Preferences::mark();
// enrich groups and return them: