Commit c8299697 by Alexander Makarov

Correct fix for #4060

parent cc351d06
...@@ -31,6 +31,14 @@ class User extends ActiveRecord implements IdentityInterface ...@@ -31,6 +31,14 @@ class User extends ActiveRecord implements IdentityInterface
/** /**
* @inheritdoc * @inheritdoc
*/ */
public static function tableName()
{
return '{{%user}}';
}
/**
* @inheritdoc
*/
public function behaviors() public function behaviors()
{ {
return [ return [
......
...@@ -38,14 +38,6 @@ class <?= $searchModelClass ?> extends <?= isset($modelAlias) ? $modelAlias : $m ...@@ -38,14 +38,6 @@ class <?= $searchModelClass ?> extends <?= isset($modelAlias) ? $modelAlias : $m
/** /**
* @inheritdoc * @inheritdoc
*/ */
public static function tableName()
{
return <?= isset($modelAlias) ? $modelAlias : $modelClass ?>::tableName();
}
/**
* @inheritdoc
*/
public function rules() public function rules()
{ {
return [ 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