Cleanup fix

This commit is contained in:
Joe 2018-08-21 15:29:48 -04:00
parent 8e7bc7701c
commit af516eebb0

View file

@ -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);