mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-19 16:01:57 +08:00
@@ -85,8 +85,9 @@ class Action extends Component
|
||||
Yii::$app->requestedParams = $args;
|
||||
}
|
||||
if ($this->beforeRun()) {
|
||||
call_user_func_array([$this, 'run'], $args);
|
||||
$result = call_user_func_array([$this, 'run'], $args);
|
||||
$this->afterRun();
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user