From 1862fba7f77ab690339c4e18848b01ac0d4b8533 Mon Sep 17 00:00:00 2001 From: Shadow Date: Tue, 19 Nov 2013 13:01:36 +0200 Subject: [PATCH] Update Units.php --- GameEngine/Units.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/GameEngine/Units.php b/GameEngine/Units.php index 246cdf92..9e3844a2 100644 --- a/GameEngine/Units.php +++ b/GameEngine/Units.php @@ -672,16 +672,6 @@ header("Location: banned.php"); } } - function getOasisEnforceArray($id, $mode=0) { - if (!$mode) { - $q = "SELECT e.*,o.conqured FROM ".TB_PREFIX."enforcement as e LEFT JOIN ".TB_PREFIX."odata as o ON e.vref=o.wref where e.id = $id"; - }else{ - $q = "SELECT e.*,o.conqured FROM ".TB_PREFIX."enforcement as e LEFT JOIN ".TB_PREFIX."odata as o ON e.from=o.wref where e.id =$id"; - } - $result = mysql_query($q, $this->connection); - return mysql_fetch_assoc($result); - } - public function Settlers($post) { global $form, $database, $village, $session; if($session->access != BANNED){