This commit is contained in:
2026-05-23 21:06:40 +02:00
parent 0a7abb1389
commit 444711b049
2 changed files with 7 additions and 3 deletions
-1
View File
@@ -12,7 +12,6 @@ class CloseEvent implements CronTask {
$eventRepository = new EventRepository();
/** @var Event $event */
foreach ($eventRepository->getAvailable(false) as $event) {
echo $event->id . $event->tenant .'<br>';
if ($event->registration_final_end <= $now ) {
$event->registration_allowed = false;
$event->save();