ActionLogger rollback 추가

This commit is contained in:
2018-07-14 18:23:31 +09:00
parent 0a98c71dfe
commit 8fca98c0c9
+10
View File
@@ -42,6 +42,16 @@ class ActionLogger{
}
}
public function rollback(){
$this->generalHistoryLog = [];
$this->generalActionLog = [];
$this->generalBattleResultLog = [];
$this->generalBattleDetailLog = [];
$this->nationalHistoryLog = [];
$this->globalHistoryLog = [];
$this->globalActionLog = [];
}
public function flush(){
$db = DB::db();