diff --git a/webapp/controller/SignController.class.php b/webapp/controller/SignController.class.php index f6211a2..48758ff 100644 --- a/webapp/controller/SignController.class.php +++ b/webapp/controller/SignController.class.php @@ -44,17 +44,7 @@ class SignController{ array( ':accountid' => $account_id )); - if (!$row1) { - $ret = $conn->execScript('INSERT INTO user(accountid, rank, game_times, win_times, kills, harm, add_HP, alive_time, coin_num, integral, kill_his, alive_time_his, harm_his, add_HP_his) ' . - ' VALUES(:accountid, 0, 0, 0, 0, 0, 0, 0, 100000, 0, 0, 0, 0, 0);', - array( - ':accountid' => $account_id - )); - if (!$ret) { - die(); - return; - } - } + $row = $conn->execQueryOne('SELECT * FROM sign WHERE accountid=:accountid;', array( ':accountid' => $account_id