|
|
@ -127,7 +127,7 @@ class Router extends \yii\base\ApplicationComponent |
|
|
|
{ |
|
|
|
{ |
|
|
|
$messages = \Yii::getLogger()->messages; |
|
|
|
$messages = \Yii::getLogger()->messages; |
|
|
|
$export = !isset($event->params['export']) || $event->params['export']; |
|
|
|
$export = !isset($event->params['export']) || $event->params['export']; |
|
|
|
$final = !isset($event-params['flush']) || !$event->params['flush']; |
|
|
|
$final = !isset($event->params['flush']) || !$event->params['flush']; |
|
|
|
foreach ($this->_targets as $target) { |
|
|
|
foreach ($this->_targets as $target) { |
|
|
|
if ($target->enabled) { |
|
|
|
if ($target->enabled) { |
|
|
|
$target->processMessages($messages, $export, $final); |
|
|
|
$target->processMessages($messages, $export, $final); |
|
|
|