Skip to content

Commit 1552834

Browse files
committed
[BUGFIX] Fix cache flush if caching is enabled via TYPO3_CONFIG_HANDLING_CACHE
(cherry picked from commit ef71467)
1 parent 3f4dfd9 commit 1552834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ConfigLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function loadOverrides(): array
132132

133133
public function flushCache(): void
134134
{
135-
if (!$this->isProduction) {
135+
if (!$this->shouldCache()) {
136136
return;
137137
}
138138
$cacheFilePattern = str_replace($this->getCacheIdentifier(), '*', $this->getCacheFile());

0 commit comments

Comments
 (0)