mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Cleanup fix
This commit is contained in:
parent
8e7bc7701c
commit
af516eebb0
1 changed files with 0 additions and 1 deletions
|
@ -1165,7 +1165,6 @@ class CakeResponse {
|
||||||
$etagMatches = $timeMatches = false;
|
$etagMatches = $timeMatches = false;
|
||||||
if ($responseTag = $this->etag()) {
|
if ($responseTag = $this->etag()) {
|
||||||
$etagMatches = in_array('*', $etags) || in_array($responseTag, $etags);
|
$etagMatches = in_array('*', $etags) || in_array($responseTag, $etags);
|
||||||
} else {
|
|
||||||
}
|
}
|
||||||
if ($modifiedSince) {
|
if ($modifiedSince) {
|
||||||
$timeMatches = strtotime($this->modified()) === strtotime($modifiedSince);
|
$timeMatches = strtotime($this->modified()) === strtotime($modifiedSince);
|
||||||
|
|
Loading…
Reference in a new issue