Remove unused variables

This commit is contained in:
Frederic Guillot
2015-01-26 21:41:33 -05:00
parent 0f6a4e9de9
commit c1173765ae

View File

@@ -165,7 +165,7 @@ abstract class Base
$this->container['dispatcher']->dispatch('session.bootstrap', new Event); $this->container['dispatcher']->dispatch('session.bootstrap', new Event);
if (! $this->acl->isPublicAction($controller, $action)) { if (! $this->acl->isPublicAction($controller, $action)) {
$this->handleAuthentication($controller, $action); $this->handleAuthentication();
$this->handleAuthorization($controller, $action); $this->handleAuthorization($controller, $action);
} }
} }
@@ -175,7 +175,7 @@ abstract class Base
* *
* @access public * @access public
*/ */
public function handleAuthentication($controller, $action) public function handleAuthentication()
{ {
if (! $this->authentication->isAuthenticated()) { if (! $this->authentication->isAuthenticated()) {