models/RecurringTicketModel.php::updateAfterRun() has zero callers anywhere in the codebase — superseded by the atomic claimForRun(), which the cron script actually uses. Harmless as dead code, but it lacks claimForRun's WHERE ... AND next_run_at <= NOW() conditional-claim guard that prevents the double-fire race between concurrent cron invocations. If anyone reuses updateAfterRun() later assuming it's equivalent/interchangeable with claimForRun(), they'd silently reintroduce that race.
Fix: Delete updateAfterRun() to remove the trap for future maintainers.
**Severity:** Low
`models/RecurringTicketModel.php::updateAfterRun()` has zero callers anywhere in the codebase — superseded by the atomic `claimForRun()`, which the cron script actually uses. Harmless as dead code, but it lacks `claimForRun`'s `WHERE ... AND next_run_at <= NOW()` conditional-claim guard that prevents the double-fire race between concurrent cron invocations. If anyone reuses `updateAfterRun()` later assuming it's equivalent/interchangeable with `claimForRun()`, they'd silently reintroduce that race.
**Fix:** Delete `updateAfterRun()` to remove the trap for future maintainers.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Severity: Low
models/RecurringTicketModel.php::updateAfterRun()has zero callers anywhere in the codebase — superseded by the atomicclaimForRun(), which the cron script actually uses. Harmless as dead code, but it lacksclaimForRun'sWHERE ... AND next_run_at <= NOW()conditional-claim guard that prevents the double-fire race between concurrent cron invocations. If anyone reusesupdateAfterRun()later assuming it's equivalent/interchangeable withclaimForRun(), they'd silently reintroduce that race.Fix: Delete
updateAfterRun()to remove the trap for future maintainers.