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() . ' ';
}