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 <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2025-05-30 18:00:16 +02:00 committed by MichaIng
parent c5433afecc
commit 43a9fd4b1f
No known key found for this signature in database
GPG key ID: 1DF45FDB9C6CE851

View file

@ -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