From 707f988ca4a51f360dfaa48cbdacb785bf8e7648 Mon Sep 17 00:00:00 2001 From: SilverFire - Dima Naumenko Date: Sat, 2 May 2015 00:35:12 +0300 Subject: [PATCH] DB minor changes --- controllers/DBController.php | 1 - grid/DBGridView.php | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/DBController.php b/controllers/DBController.php index 5b6f45c7..15f25f6e 100644 --- a/controllers/DBController.php +++ b/controllers/DBController.php @@ -8,7 +8,6 @@ namespace hipanel\modules\hosting\controllers; use hipanel\base\CrudController; -use hipanel\modules\hosting\models\DB; use Yii; use yii\filters\VerbFilter; diff --git a/grid/DBGridView.php b/grid/DBGridView.php index 8693d336..8658157c 100644 --- a/grid/DBGridView.php +++ b/grid/DBGridView.php @@ -18,7 +18,8 @@ class DbGridView extends BoxedGridView { - static public function defaultColumns () { + static public function defaultColumns() + { return [ 'db' => [ 'class' => MainColumn::className(),