@@ -60,8 +60,7 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | $view = new \Aimeos\MW\View\Standard( $templatePaths, $engines ); |
| 62 | 62 | $this->initTwig( $view, $twig ); |
| 63 | - } |
|
| 64 | - else |
|
| 63 | + } else |
|
| 65 | 64 | { |
| 66 | 65 | $view = new \Aimeos\MW\View\Standard( $templatePaths ); |
| 67 | 66 | } |
@@ -232,8 +231,7 @@ discard block |
||
| 232 | 231 | { |
| 233 | 232 | $i18n = $this->container->get( 'aimeos.i18n' )->get( array( $locale ) ); |
| 234 | 233 | $translation = $i18n[$locale]; |
| 235 | - } |
|
| 236 | - else |
|
| 234 | + } else |
|
| 237 | 235 | { |
| 238 | 236 | $translation = new \Aimeos\MW\Translation\None( 'en' ); |
| 239 | 237 | } |