From cf2c3b944e270114fe435ebd22c88699355acaf8 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 21 Mar 2023 15:49:33 +0100 Subject: [PATCH] Change for #1024 --- snappymail/v/0.0.0/app/libraries/RainLoop/Service.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Service.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Service.php index 42d7ef400..62c5d3500 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Service.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Service.php @@ -194,7 +194,10 @@ abstract class Service APP_VERSION )) ); - $oActions->verifyCacheByKey($sCacheFileName); + + // https://github.com/the-djmaze/snappymail/issues/1024 +// $oActions->verifyCacheByKey($sCacheFileName); + if ($oConfig->Get('cache', 'system_data', true)) { $sResult = $oActions->Cacher()->Get($sCacheFileName); } else { @@ -234,7 +237,8 @@ abstract class Service $sScriptHash = 'sha256-'.\base64_encode(\hash('sha256', $script[1], true)); static::setCSP(null, $sScriptHash); */ - $oActions->cacheByKey($sCacheFileName); + // https://github.com/the-djmaze/snappymail/issues/1024 +// $oActions->cacheByKey($sCacheFileName); echo $sResult; unset($sResult);