Skip to content

Commit

Permalink
Remove useless import of Yii from CRUD generator search model template
Browse files Browse the repository at this point in the history
fixes #378
  • Loading branch information
cebe committed Oct 12, 2018
1 parent cafe77a commit 6d30fa9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Yii Framework 2 gii extension Change Log
- Bug #379: Fixed bug in view page where delete button not work well (zacksleo)
- Bug #327: Fixed bug in Model generator when $baseClass is an abstract class (rhertogh)
- Enh #366: Option to allow standardized class names capitals in model generator (slinstj)
- Enh #378: Remove useless import of `Yii` from CRUD generator search model template (CeBe)


2.0.7 May 3, 2018
Expand Down
1 change: 0 additions & 1 deletion src/generators/crud/default/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

namespace <?= StringHelper::dirname(ltrim($generator->searchModelClass, '\\')) ?>;

use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use <?= ltrim($generator->modelClass, '\\') . (isset($modelAlias) ? " as $modelAlias" : "") ?>;
Expand Down

0 comments on commit 6d30fa9

Please sign in to comment.