mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-20 00:20:00 +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) {
|
foreach ($helpers as $helperName) {
|
||||||
$helper =& $this->loaded[$helperName];
|
$helper =& $this->loaded[$helperName];
|
||||||
if (is_object($helper)) {
|
if (is_object($helper)) {
|
||||||
if (is_subclass_of($helper, 'Helper') || is_subclass_of($helper, 'helper')) {
|
if (is_subclass_of($helper, 'Helper')) {
|
||||||
$helper->{$callback}();
|
$helper->{$callback}();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue