From 20f27677db2d632bafffff507062cc6a4509a170 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Tue, 2 Dec 2025 16:19:41 +0100 Subject: [PATCH] fix tfl purge condition --- app/Console/Commands/SyncTFL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SyncTFL.php b/app/Console/Commands/SyncTFL.php index f4d9490..8f4cf26 100644 --- a/app/Console/Commands/SyncTFL.php +++ b/app/Console/Commands/SyncTFL.php @@ -78,7 +78,7 @@ class SyncTFL extends Command { $to_purge = $event->episodes() ->whereNotIn('ext_id', $ext_ids) ->where('ext_id', 'LIKE', 'tfl:%') - ->where('start', '>', 'NOW()'); + ->where('start', '>', now()); foreach ($to_purge->get() as $episode) { $episode->callOff(); } -- 2.47.3