Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Jun 8, 2021
1 parent 786b50c commit 4d1cf18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core-bundle/src/Resources/contao/pages/PageRegular.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
namespace Contao;

use Contao\CoreBundle\Exception\NoLayoutSpecifiedException;
use Contao\CoreBundle\Routing\ResponseContext\ContaoWebpageResponseContext;
use Contao\CoreBundle\Routing\ResponseContext\CoreResponseContextFactory;
use Contao\CoreBundle\Routing\ResponseContext\HtmlHeadBag\HtmlHeadBag;
use Contao\CoreBundle\Routing\ResponseContext\ResponseContextAccessor;
Expand Down Expand Up @@ -75,7 +74,6 @@ protected function prepare($objPage)
$container->get('request_stack')->getCurrentRequest()->setLocale($locale);
$container->get('translator')->setLocale($locale);

/** @var ContaoWebpageResponseContext $responseContext */
$responseContext = $container->get(CoreResponseContextFactory::class)->createContaoWebpageResponseContext($objPage);

System::loadLanguageFile('default');
Expand Down

0 comments on commit 4d1cf18

Please sign in to comment.