mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-09 14:59:54 +08:00
code style + test groups
This commit is contained in:
@@ -41,22 +41,18 @@ class DbManager extends BaseManager
|
||||
* with a DB connection object.
|
||||
*/
|
||||
public $db = 'db';
|
||||
|
||||
/**
|
||||
* @var string the name of the table storing authorization items. Defaults to "auth_item".
|
||||
*/
|
||||
public $itemTable = '{{%auth_item}}';
|
||||
|
||||
/**
|
||||
* @var string the name of the table storing authorization item hierarchy. Defaults to "auth_item_child".
|
||||
*/
|
||||
public $itemChildTable = '{{%auth_item_child}}';
|
||||
|
||||
/**
|
||||
* @var string the name of the table storing authorization item assignments. Defaults to "auth_assignment".
|
||||
*/
|
||||
public $assignmentTable = '{{%auth_assignment}}';
|
||||
|
||||
/**
|
||||
* @var string the name of the table storing rules. Defaults to "auth_rule".
|
||||
*/
|
||||
@@ -70,7 +66,6 @@ class DbManager extends BaseManager
|
||||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
|
||||
$this->db = Instance::ensure($this->db, Connection::className());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user