Skip to content

Commit d537769

Browse files
authored
Merge pull request nextcloud#53210 from nextcloud/bug/52977/opcache-reset-after-app-extract
2 parents f530a6c + c7b6993 commit d537769

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/private/Installer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ public function downloadApp(string $appId, bool $allowUnstable = false): void {
341341
// otherwise we just copy the outer directory
342342
$this->copyRecursive($extractDir, $baseDir);
343343
Files::rmdirr($extractDir);
344+
if (function_exists('opcache_reset')) {
345+
opcache_reset();
346+
}
344347
return;
345348
}
346349
// Signature does not match

0 commit comments

Comments
 (0)