Skip to content

Commit 23c5f1a

Browse files
Update EvaluateProcessRetentionJob.php
1 parent dca5de8 commit 23c5f1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ProcessMaker/Jobs/EvaluateProcessRetentionJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(public int $processId)
2727
public function handle(): void
2828
{
2929
// Only run if case retention policy is enabled
30-
$enabled = config('app.case_retention_policy_enabled');
30+
$enabled = getenv('CASE_RETENTION_POLICY_ENABLED');
3131
if (!$enabled) {
3232
return;
3333
}

0 commit comments

Comments
 (0)