added profile controller
This commit is contained in:
@ -5,5 +5,8 @@ use yii\db\ActiveQuery;
|
||||
|
||||
class ProfileQuery extends ActiveQuery
|
||||
{
|
||||
|
||||
public function whereId($id)
|
||||
{
|
||||
return $this->andWhere(['id' => $id]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user