From 0e19c7f0d420584bba9ba2262af9f6975fb2e3ed Mon Sep 17 00:00:00 2001 From: yarik Date: Wed, 21 Sep 2016 13:45:02 +0300 Subject: [PATCH] Remove guest comment --- frontend/views/company/blog-view.php | 2 +- frontend/views/company/portfolio-view.php | 2 +- frontend/views/performer/blog-view.php | 2 +- frontend/views/performer/portfolio-view.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/views/company/blog-view.php b/frontend/views/company/blog-view.php index bdf782a..a3bb9b9 100755 --- a/frontend/views/company/blog-view.php +++ b/frontend/views/company/blog-view.php @@ -43,7 +43,7 @@ 'class_options' => [ 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, 'user_id' => \Yii::$app->user->getId(), - 'guestComment' => true, + 'guestComment' => false, 'status' => \common\modules\comment\models\Comment::STATUS_ACTIVE, ], 'list_options' => [ diff --git a/frontend/views/company/portfolio-view.php b/frontend/views/company/portfolio-view.php index 185b542..6d56919 100755 --- a/frontend/views/company/portfolio-view.php +++ b/frontend/views/company/portfolio-view.php @@ -207,7 +207,7 @@ 'class_options' => [ 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, 'user_id' => \Yii::$app->user->getId(), - 'guestComment' => true, + 'guestComment' => false, 'status' => \common\modules\comment\models\Comment::STATUS_ACTIVE, ], 'list_options' => [ diff --git a/frontend/views/performer/blog-view.php b/frontend/views/performer/blog-view.php index 4321444..3577125 100755 --- a/frontend/views/performer/blog-view.php +++ b/frontend/views/performer/blog-view.php @@ -59,7 +59,7 @@ 'class_options' => [ 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, 'user_id' => \Yii::$app->user->getId(), - 'guestComment' => true, + 'guestComment' => false, 'status' => \common\modules\comment\models\Comment::STATUS_ACTIVE, ], 'list_options' => [ diff --git a/frontend/views/performer/portfolio-view.php b/frontend/views/performer/portfolio-view.php index 14b0df0..8db5e3f 100755 --- a/frontend/views/performer/portfolio-view.php +++ b/frontend/views/performer/portfolio-view.php @@ -213,7 +213,7 @@ 'class_options' => [ 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, 'user_id' => \Yii::$app->user->getId(), - 'guestComment' => true, + 'guestComment' => false, 'status' => \common\modules\comment\models\Comment::STATUS_ACTIVE, ], 'list_options' => [ -- libgit2 0.21.4