mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 22:39:52 +08:00
validator cleanup.
This commit is contained in:
@@ -138,7 +138,7 @@ class Logger extends \yii\base\Component
|
||||
*/
|
||||
public function flush($final = false)
|
||||
{
|
||||
$this->trigger($final ? 'finalFlush' : 'flush');
|
||||
$this->trigger($final ? self::EVENT_FINAL_FLUSH : self::EVENT_FLUSH);
|
||||
$this->messages = array();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user