Skip to content

Commit

Permalink
Controller: removing unused variables in the filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
daschl committed Sep 4, 2011
1 parent bcf47df commit b17e7b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions action/Controller.php
Expand Up @@ -161,9 +161,7 @@ public function __invoke($request, $dispatchParams, array $options = array()) {
$params = compact('request', 'dispatchParams', 'options');

return $this->_filter(__METHOD__, $params, function($self, $params) use (&$render) {
$request = $params['request'];
$dispatchParams = $params['dispatchParams'];
$options = $params['options'];

$action = isset($dispatchParams['action']) ? $dispatchParams['action'] : 'index';
$args = isset($dispatchParams['args']) ? $dispatchParams['args'] : array();
Expand Down

0 comments on commit b17e7b8

Please sign in to comment.