Merge pull request #53210 from nextcloud/bug/52977/opcache-reset-after-app-extract

This commit is contained in:
John Molakvoæ 2025-06-01 12:10:54 +02:00 committed by GitHub
commit d53776913e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -341,6 +341,9 @@ class Installer {
// otherwise we just copy the outer directory
$this->copyRecursive($extractDir, $baseDir);
Files::rmdirr($extractDir);
if (function_exists('opcache_reset')) {
opcache_reset();
}
return;
}
// Signature does not match