From fa052febf3a67079058ed65ab7bc85a7714e996c Mon Sep 17 00:00:00 2001 From: math Date: Sat, 16 Aug 2014 22:13:25 +0200 Subject: [PATCH] bugfix --- languages/de/default.php | 4 ++-- languages/en/default.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/languages/de/default.php b/languages/de/default.php index 1cbcc90..ae8e072 100644 --- a/languages/de/default.php +++ b/languages/de/default.php @@ -95,8 +95,8 @@ * Load on be_welcome */ if (TL_MODE == 'BE') { - $this->import('BackendUser', 'User'); - if (!strlen($_GET['do']) && ($this->User->language == "de") ) { + $objUser = BackendUser::getInstance(); + if (!strlen($_GET['do']) && ($objUser->language == "de") ) { $bepiwikcharts = new bepiwikcharts(); $GLOBALS['TL_LANG']['MSC']['welcomeTo'] .= '' . $bepiwikcharts->dashboardWelcomePage() . '

 '; } diff --git a/languages/en/default.php b/languages/en/default.php index b3ea783..48392a4 100644 --- a/languages/en/default.php +++ b/languages/en/default.php @@ -99,8 +99,8 @@ * Load on be_welcome */ if (TL_MODE == 'BE') { - $this->import('BackendUser', 'User'); - if (!strlen($_GET['do']) && ($this->User->language != "de") ) { + $objUser = BackendUser::getInstance(); + if (!strlen($_GET['do']) && ($objUser->language != "de") ) { $bepiwikcharts = new bepiwikcharts(); $GLOBALS['TL_LANG']['MSC']['welcomeTo'] .= '

' . $bepiwikcharts->dashboardWelcomePage() . '

 '; }