1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

INA-5 | replace archived with is_deleted property

This commit is contained in:
Nikola Cirkovic 2022-05-27 02:50:50 +02:00
parent 9bd2279290
commit 3d67c99567

View File

@ -121,7 +121,7 @@ class TaskScheduler implements ShouldQueue
private function fetchJobs()
{
return Scheduler::where('paused', false)
->where('archived', false)
->where('is_deleted', false)
->whereDate('scheduled_run', '<=', Carbon::now())
->cursor();
}