We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03695a0 commit 9579d01Copy full SHA for 9579d01
ProcessMaker/Console/Commands/EvaluateCaseRetention.php
@@ -44,7 +44,6 @@ public function handle()
44
$systemCategoryIds = ProcessCategory::where('is_system', true)->pluck('id');
45
46
// Exclude processes that are templates or in system categories
47
- // Processes without retention_period will default to one_year
48
$jobCount = 0;
49
$query = Process::where('is_template', '!=', 1);
50
@@ -62,7 +61,6 @@ public function handle()
62
61
});
63
}
64
65
66
$query->chunkById(100, function ($processes) use (&$jobCount) {
67
foreach ($processes as $process) {
68
dispatch(new EvaluateProcessRetentionJob($process->id));
0 commit comments