diff --git a/integrations/nextcloud/snappymail/lib/Migration/InstallStep.php b/integrations/nextcloud/snappymail/lib/Migration/InstallStep.php index 9a6f5998e..6eb7fd3d1 100644 --- a/integrations/nextcloud/snappymail/lib/Migration/InstallStep.php +++ b/integrations/nextcloud/snappymail/lib/Migration/InstallStep.php @@ -21,6 +21,8 @@ class InstallStep implements IRepairStep \clearstatcache(); \clearstatcache(true); + // opcache_reset is a terrible solution, but certain Nextcloud setups have issues + \is_callable('opcache_reset') && \opcache_reset(); \OCA\SnappyMail\Util\SnappyMailHelper::loadApp();