diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2025-05-30 18:00:16 +0200 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2025-06-18 20:29:57 +0200 |
commit | b4cbdadd711d00357ba971c2acd1bafa33f490b8 (patch) | |
tree | 1744b087e15ff24ef9f9fd369d98b9b1aab9c789 | |
parent | 2c3cfbcbf8ba24011c2da9afe1cea6ee00f55412 (diff) | |
download | nextcloud-server-backport/53210/stable30.tar.gz nextcloud-server-backport/53210/stable30.zip |
fix: clear opcache after app extractionbackport/53210/stable30
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 <mail@danielkesselberg.de>
-rw-r--r-- | lib/private/Installer.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 7395e365d00..0ae374ce6e2 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -332,6 +332,9 @@ class Installer { } OC_Helper::copyr($extractDir, $baseDir); OC_Helper::rmdirr($extractDir); + if (function_exists('opcache_reset')) { + opcache_reset(); + } return; } // Signature does not match |