From: Daniel Karbach Date: Tue, 2 Dec 2025 15:19:41 +0000 (+0100) Subject: fix tfl purge condition X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=20f27677db2d632bafffff507062cc6a4509a170;p=alttp.git fix tfl purge condition --- 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(); }