diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2025-05-30 18:00:16 +0200 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2025-06-18 20:28:48 +0200 |
commit | 43a9fd4b1f66da1d0f47b999dff3feac66f349a0 (patch) | |
tree | 6de478759b8528257eb4abce7c7851db87b26f19 | |
parent | c5433afecc78741da53033104630b54adeb6b739 (diff) | |
download | nextcloud-server-backport/53210/stable31.tar.gz nextcloud-server-backport/53210/stable31.zip |
fix: clear opcache after app extractionbackport/53210/stable31
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 00fdd84c1bc..5300a485d80 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 |