mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Remove dead view cache code.
Now that cache files contain the response headers, this is no longer needed. Remove what is now duplicate code. Refs #2358
This commit is contained in:
parent
e454f2d2a3
commit
e2d69402e7
1 changed files with 0 additions and 3 deletions
|
@ -565,9 +565,6 @@ class View extends Object {
|
|||
unset($out);
|
||||
return false;
|
||||
} else {
|
||||
if ($this->layout === 'xml') {
|
||||
$response->type('xml');
|
||||
}
|
||||
return substr($out, strlen($match[0]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue