예약 오픈 테이블은 리셋에도 유지하도록 변경
This commit is contained in:
@@ -31,10 +31,6 @@ $result = ResetHelper::buildScenario(
|
|||||||
$options['tournament_trig']
|
$options['tournament_trig']
|
||||||
);
|
);
|
||||||
|
|
||||||
if($result['result']){
|
|
||||||
$db->delete('reserved_open', 'id=%i', $reserved['id']);
|
|
||||||
}
|
|
||||||
|
|
||||||
$result['affected']=1;
|
$result['affected']=1;
|
||||||
|
|
||||||
$prefix = DB::prefix();
|
$prefix = DB::prefix();
|
||||||
|
|||||||
@@ -93,6 +93,8 @@ if($result !== true){
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ResetHelper::clearDB();
|
||||||
|
|
||||||
AppConf::getList()[$prefix]->closeServer();
|
AppConf::getList()[$prefix]->closeServer();
|
||||||
|
|
||||||
Json::die([
|
Json::die([
|
||||||
|
|||||||
+3
-1
@@ -44,4 +44,6 @@ DROP TABLE IF EXISTS event;
|
|||||||
DROP TABLE IF EXISTS world_history;
|
DROP TABLE IF EXISTS world_history;
|
||||||
|
|
||||||
# 전체 이벤트 테이블 삭제(연감 대체?)
|
# 전체 이벤트 테이블 삭제(연감 대체?)
|
||||||
DROP TABLE IF EXISTS general_public_record;
|
DROP TABLE IF EXISTS general_public_record;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS reserved_open;
|
||||||
Reference in New Issue
Block a user