Commit c8299697 by Alexander Makarov

Correct fix for #4060

parent cc351d06
......@@ -31,6 +31,14 @@ class User extends ActiveRecord implements IdentityInterface
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%user}}';
}
/**
* @inheritdoc
*/
public function behaviors()
{
return [
......
......@@ -38,14 +38,6 @@ class <?= $searchModelClass ?> extends <?= isset($modelAlias) ? $modelAlias : $m
/**
* @inheritdoc
*/
public static function tableName()
{
return <?= isset($modelAlias) ? $modelAlias : $modelClass ?>::tableName();
}
/**
* @inheritdoc
*/
public function rules()
{
return [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment