mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-01 03:27:43 +08:00
Bugfix: broken oHttp, should use $this->Http()
This commit is contained in:
parent
09b3fa3141
commit
5530a85f47
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue