Skip to content

Commit

Permalink
Remove Widget::afterRender()
Browse files Browse the repository at this point in the history
After some discussion, none of us could come up for a reason for it to
stick around.
  • Loading branch information
markstory committed Jun 9, 2014
1 parent 403af31 commit e9184d7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/View/Helper/FormHelper.php
Expand Up @@ -2275,11 +2275,7 @@ public function widget($name, array $data = []) {
}
unset($data['secure']);

$out = $widget->render($data);
if (method_exists($widget, 'afterRender')) {
$widget->afterRender($this->_View, $data);
}
return $out;
return $widget->render($data);
}

/**
Expand Down

0 comments on commit e9184d7

Please sign in to comment.