From 5530a85f4756f2bff20af51a659731efc82e4833 Mon Sep 17 00:00:00 2001 From: djmaze Date: Wed, 14 Jul 2021 11:38:05 +0200 Subject: [PATCH] Bugfix: broken oHttp, should use $this->Http() --- snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php index 6a1c4b024..c73a6404c 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php @@ -2004,13 +2004,13 @@ class Actions if (!empty($sKey) && ($bForce || ($this->Config()->Get('cache', 'enable', true) && $this->Config()->Get('cache', 'http', true)))) { $iExpires = $this->Config()->Get('cache', 'http_expires', 3600); if (0 < $iExpires) { - $this->oHttp->ServerUseCache($this->etag($sKey), 1382478804, \time() + $iExpires); + $this->Http()->ServerUseCache($this->etag($sKey), 1382478804, \time() + $iExpires); $bResult = true; } } if (!$bResult) { - $this->oHttp->ServerNoCache(); + $this->Http()->ServerNoCache(); } return $bResult;