summaryrefslogtreecommitdiff
path: root/app/frontend
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-06-10 11:48:01 +0200
committeremkael <emkael@tlen.pl>2016-06-10 11:48:01 +0200
commitb47a81da8fbf6b6384c8b068132b257835ffff01 (patch)
treef2812941b299fd0a33c31c8727a512b51cb53750 /app/frontend
parent817d6fd42eb3ac0d1ee9a73fe5e5a4b1ec21da05 (diff)
* user language preference model
Diffstat (limited to 'app/frontend')
-rw-r--r--app/frontend/model/User.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/frontend/model/User.php b/app/frontend/model/User.php
index d431183..922033f 100644
--- a/app/frontend/model/User.php
+++ b/app/frontend/model/User.php
@@ -12,6 +12,7 @@ class User extends ActiveRecord {
public $Password;
public $IsAdmin;
public $Timezone;
+ public $Language;
public $LastLogin;
public static $COLUMN_MAPPING = [
@@ -20,6 +21,7 @@ class User extends ActiveRecord {
'password' => 'Password',
'is_admin' => 'IsAdmin',
'timezone' => 'Timezone',
+ 'language' => 'Language',
'last_login' => 'LastLogin'
];