@@ -330,8 +330,7 @@ discard block |
||
| 330 | 330 | 'controller' => $controller |
| 331 | 331 | )); |
| 332 | 332 | } |
| 333 | - } |
|
| 334 | - else { |
|
| 333 | + } else { |
|
| 335 | 334 | $c = $controller; |
| 336 | 335 | } |
| 337 | 336 | $settings = $c->getControllerSettings(); |
@@ -377,8 +376,7 @@ discard block |
||
| 377 | 376 | if ( null != $this->router && $this->router->hasRoute($action) ) { |
| 378 | 377 | $controllerInstance = $this->router->route($action, $request); |
| 379 | 378 | $action = $request->getAction(); |
| 380 | - } |
|
| 381 | - else { |
|
| 379 | + } else { |
|
| 382 | 380 | if (! isset($this->controllers[$applicationName][$controller])) { |
| 383 | 381 | $this->getLogger()->error("[{remote}] No such controller {controller}", array( |
| 384 | 382 | 'remote' => $request->getRemoteHost(), |