Language ID rework
This commit is contained in:
@@ -20,6 +20,7 @@ class Model_Account extends Model_Auth_UserDefault {
|
||||
);
|
||||
protected $_has_one = array(
|
||||
'affiliate' => array('far_key'=>'id'),
|
||||
'language'=>array('foreign_key'=>'id','far_key'=>'language_id'),
|
||||
);
|
||||
|
||||
protected $_display_filters = array(
|
||||
@@ -60,11 +61,6 @@ class Model_Account extends Model_Auth_UserDefault {
|
||||
return StaticList_Module::form($name,'country',$this->country_id,'id','name',array('active'=>'=:1'),FALSE,array('class'=>'form_button'));
|
||||
}
|
||||
|
||||
public function language($name) {
|
||||
// @todo To setup
|
||||
return 'en';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the groups that an account belongs to
|
||||
*/
|
||||
|
Reference in New Issue
Block a user