Skip to content

Commit

Permalink
Removing unreachable code
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7896 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information
phpnut committed Nov 27, 2008
1 parent 9d2f595 commit 4cdbd4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/libs/view/view.php
Expand Up @@ -478,7 +478,7 @@ function _triggerHelpers($callback) {
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}();
}
}
Expand Down Expand Up @@ -665,7 +665,7 @@ function _render($___viewFn, $___dataForView, $loadHelpers = true, $cached = fal
}

$this->_triggerHelpers('afterRender');

$out = ob_get_clean();
$caching = (
isset($this->loaded['cache']) &&
Expand Down

0 comments on commit 4cdbd4e

Please sign in to comment.