@ -376,9 +376,6 @@ class LanguageBehavior extends Behavior
public function findTranslation($language = null)
{
$language = $language ?: $this->defaultLanguage;
//$class = call_user_func(array($this->virtualClassName, 'getInstance'));
if (is_array($this->relativeField)) {
$condition = [];
foreach ($this->relativeField as $field) {
@ -15,7 +15,6 @@ use core\behaviors\LanguageBehavior;
* @property string $type
* @property string $section
* @property string $key
* @property string $value
* @property integer $active
* @property integer $created_at
* @property integer $updated_at