Skip to content

Commit 023bbe7

Browse files
authored
Merge pull request #53591 from nextcloud/backport/53210/stable31
[stable31] fix: clear opcache after app extraction
2 parents f57af2d + 43a9fd4 commit 023bbe7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/private/Installer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ public function downloadApp(string $appId, bool $allowUnstable = false): void {
332332
}
333333
OC_Helper::copyr($extractDir, $baseDir);
334334
OC_Helper::rmdirr($extractDir);
335+
if (function_exists('opcache_reset')) {
336+
opcache_reset();
337+
}
335338
return;
336339
}
337340
// Signature does not match

0 commit comments

Comments
 (0)