Skip to content

Commit

Permalink
Merge branch 'feature/62886-change-cacheinvalidator' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexvaar committed Mar 27, 2024
2 parents 640dc9e + 299b58c commit 43822b8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public function registerClearCacheTasks(RecordWasPublished $event): void
}
}

foreach (array_unique($pids) as $pid) {
// Remove PID 0 from array
foreach (array_diff(array_unique($pids), [0]) as $pid) {
$this->clearCachePids[$pid] = $pid;

if (!array_key_exists($pid, $this->clearCacheCommands)) {
Expand Down

0 comments on commit 43822b8

Please sign in to comment.