mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing unreachable code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7896 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
9d2f59529c
commit
4cdbd4edd9
1 changed files with 2 additions and 2 deletions
|
@ -478,7 +478,7 @@ class View extends Object {
|
|||
foreach ($helpers as $helperName) {
|
||||
$helper =& $this->loaded[$helperName];
|
||||
if (is_object($helper)) {
|
||||
if (is_subclass_of($helper, 'Helper') || is_subclass_of($helper, 'helper')) {
|
||||
if (is_subclass_of($helper, 'Helper')) {
|
||||
$helper->{$callback}();
|
||||
}
|
||||
}
|
||||
|
@ -665,7 +665,7 @@ class View extends Object {
|
|||
}
|
||||
|
||||
$this->_triggerHelpers('afterRender');
|
||||
|
||||
|
||||
$out = ob_get_clean();
|
||||
$caching = (
|
||||
isset($this->loaded['cache']) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue