Skip to content

Commit c943172

Browse files
author
igor
committed
remove bootstrap function from the ConsoleModule
1 parent b5ea835 commit c943172

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

ConsoleModule.php

+1-13
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace yii2mod\rbac;
44

5-
use yii\base\BootstrapInterface;
6-
75
/**
86
* Class ConsoleModule
97
*
@@ -20,20 +18,10 @@
2018
* ]
2119
* ~~~
2220
*/
23-
class ConsoleModule extends Module implements BootstrapInterface
21+
class ConsoleModule extends Module
2422
{
2523
/**
2624
* @var string the namespace that controller classes are in.
2725
*/
2826
public $controllerNamespace = 'yii2mod\rbac\commands';
29-
30-
/**
31-
* @param $app
32-
*/
33-
public function bootstrap($app)
34-
{
35-
if ($app instanceof \yii\console\Application) {
36-
$this->controllerNamespace = 'yii2mod\rbac\commands';
37-
}
38-
}
3927
}

0 commit comments

Comments
 (0)