예약 오픈 테이블은 리셋에도 유지하도록 변경

This commit is contained in:
2018-04-25 21:31:39 +09:00
parent 18bd5f4246
commit 0ce36e93bd
3 changed files with 5 additions and 5 deletions
-4
View File
@@ -31,10 +31,6 @@ $result = ResetHelper::buildScenario(
$options['tournament_trig']
);
if($result['result']){
$db->delete('reserved_open', 'id=%i', $reserved['id']);
}
$result['affected']=1;
$prefix = DB::prefix();
+2
View File
@@ -93,6 +93,8 @@ if($result !== true){
]);
}
ResetHelper::clearDB();
AppConf::getList()[$prefix]->closeServer();
Json::die([
+3 -1
View File
@@ -44,4 +44,6 @@ DROP TABLE IF EXISTS event;
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;