Skip to content

Commit

Permalink
Change for #1024
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Mar 21, 2023
1 parent 8e8f396 commit cf2c3b9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions snappymail/v/0.0.0/app/libraries/RainLoop/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ private static function RunResult() : bool
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 {
Expand Down Expand Up @@ -234,7 +237,8 @@ private static function RunResult() : bool
$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);
Expand Down

0 comments on commit cf2c3b9

Please sign in to comment.