pushHistory에 DB connect가 필요하지 않으므로 인자 제거

This commit is contained in:
2018-03-02 00:05:37 +09:00
parent ae2272b249
commit c0dfd42791
40 changed files with 79 additions and 78 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ switch($btn) {
$lognum = $admin['historyindex'] + 1;
if($lognum >= 29) { $lognum = 0; }
$history[0] = "<R>★</><S>{$log}</>";
pushHistory($connect, $history);
pushHistory($history);
break;
case "변경1":
$query = "update game set starttime='$starttime' where no='1'";
@@ -102,7 +102,7 @@ switch($btn) {
}
}
$history[count($history)] = "<R>★</>턴시간이 <C>$btn</>으로 변경됩니다.";
pushHistory($connect, $history);
pushHistory($history);
break;
case "변경6":
$query = "update game set att0='$att0',def0='$def0',spd0='$spd0',avd0='$avd0',ric0='$ric0',cst0='$cst0' where no='1'";