From 49a63f37c939cf7c1e17d9332499da38cbdde375 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Fri, 27 Jan 2023 16:08:42 +0100 Subject: [PATCH] Resolve #880 --- integrations/nextcloud/snappymail/lib/Migration/InstallStep.php | 2 ++ 1 file changed, 2 insertions(+) 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();