From 7e00500870e20ee00467af44ec3516a1c7ef0806 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 25 Apr 2018 03:10:09 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=88=EC=95=BD=20=EB=A6=AC=EC=85=8B?= =?UTF-8?q?=EC=8B=9C=20=EC=B4=88=EA=B8=B0=ED=99=94=20=EC=97=90=EB=9F=AC=20?= =?UTF-8?q?=ED=91=9C=EA=B8=B0=20=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/j_install.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hwe/j_install.php b/hwe/j_install.php index 2c5c66d8..4b535e53 100644 --- a/hwe/j_install.php +++ b/hwe/j_install.php @@ -52,7 +52,10 @@ if($reserve_open){ $reserve_open = new \DateTime($reserve_open); $db = DB::db(); - ResetHelper::clearDB(); + $clearResult = ResetHelper::clearDB(); + if(!$clearResult['result']){ + Json::die($clearResult); + } $scenarioObj = new Scenario($scenario, true); $db->delete('reserved_open', true);