From 96523408bd26e62b5415809ebd45ac96ac941f8a Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 10 May 2020 15:06:51 +0900 Subject: [PATCH] =?UTF-8?q?history=20=EA=B0=84=EC=86=8C=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_history.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hwe/func_history.php b/hwe/func_history.php index ccc034ed..11a3bbe3 100644 --- a/hwe/func_history.php +++ b/hwe/func_history.php @@ -388,14 +388,6 @@ function LogHistory($isFirst=0) { $nations[$cityNationID]['cities'][] = $city['name']; } - foreach($db->queryAllLists('SELECT name, npc, nation FROM general WHERE 1 ORDER BY dedication DESC') as $general){ - $generalNationID = array_pop($general); - if(!key_exists('generals', $nations[$generalNationID])){ - $nations[$generalNationID]['generals'] = []; - } - $nations[$generalNationID]['generals'][] = $general; - } - usort($nations, function(array $lhs, array $rhs){ return -($lhs['power']<=>$rhs['power']); });