forked from devsam/core
ActionLogger rollback 추가
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user