summaryrefslogtreecommitdiff
path: root/app/Helper/AppHelper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-07 18:05:33 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-07 18:05:33 -0400
commit55ee906ba36cf66c3a390c98dde75e241de26e65 (patch)
treeed4e5419bb6254c97d63d6a5cab5ab74536201a0 /app/Helper/AppHelper.php
parentaac11a609c58ec8356e1ca479da456876034b06c (diff)
Added support for language LDAP attribute
Diffstat (limited to 'app/Helper/AppHelper.php')
-rw-r--r--app/Helper/AppHelper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Helper/AppHelper.php b/app/Helper/AppHelper.php
index e6f6412d..1f497929 100644
--- a/app/Helper/AppHelper.php
+++ b/app/Helper/AppHelper.php
@@ -90,7 +90,7 @@ class AppHelper extends Base
*/
public function jsLang()
{
- return $this->config->getJsLanguageCode();
+ return $this->language->getJsLanguageCode();
}
/**
@@ -101,7 +101,7 @@ class AppHelper extends Base
*/
public function getTimezone()
{
- return $this->config->getCurrentTimezone();
+ return $this->timezone->getCurrentTimezone();
}
/**