Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: clear opcache after app extraction
clear opcache post app update extraction to prevent outdated files issues.

opcache.validate_timestamps=0 disables automated file modification checks.

Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb authored and MichaIng committed Jun 18, 2025
commit 43a9fd4b1f66da1d0f47b999dff3feac66f349a0
3 changes: 3 additions & 0 deletions lib/private/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ public function downloadApp(string $appId, bool $allowUnstable = false): void {
}
OC_Helper::copyr($extractDir, $baseDir);
OC_Helper::rmdirr($extractDir);
if (function_exists('opcache_reset')) {
opcache_reset();
}
return;
}
// Signature does not match
Expand Down
Loading