summaryrefslogtreecommitdiff
path: root/app/Subscriber/BootstrapSubscriber.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Subscriber/BootstrapSubscriber.php')
-rw-r--r--app/Subscriber/BootstrapSubscriber.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Subscriber/BootstrapSubscriber.php b/app/Subscriber/BootstrapSubscriber.php
index ef0215f3..7e341601 100644
--- a/app/Subscriber/BootstrapSubscriber.php
+++ b/app/Subscriber/BootstrapSubscriber.php
@@ -16,8 +16,8 @@ class BootstrapSubscriber extends BaseSubscriber implements EventSubscriberInter
public function execute()
{
$this->logger->debug('Subscriber executed: '.__METHOD__);
- $this->config->setupTranslations();
- $this->config->setupTimezone();
+ $this->language->loadCurrentLanguage();
+ $this->timezone->setCurrentTimezone();
$this->actionManager->attachEvents();
if ($this->userSession->isLogged()) {