From eb06d5ef074e3be9175d0450d35fe0e159d63fe6 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 13 May 2014 19:10:34 +0800 Subject: [PATCH] Import/Core_geoip.php --- Import/Core_geoip.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Import/Core_geoip.php b/Import/Core_geoip.php index 3ef0f433..760c3d47 100644 --- a/Import/Core_geoip.php +++ b/Import/Core_geoip.php @@ -155,9 +155,7 @@ class Pman_Core_Import_Core_geoip extends Pman_Roo function processLocation($row) - { - $this->log("Processing Location : Continent - {$row['CONTINENT_NAME']}({$row['CONTINENT_CODE']}) | Country - {$row['COUNTRY_NAME']}({$row['COUNTRY_ISO_CODE']}) | Division - {$row['SUBDIVISION_ISO_CODE']}({$row['SUBDIVISION_NAME']}) | City - {$row['CITY_NAME']}"); - + { $continent = $this->processContinent($row['CONTINENT_CODE'], $row['CONTINENT_NAME']); $country = $this->processCountry($row['COUNTRY_ISO_CODE'], $row['COUNTRY_NAME'], $continent); @@ -263,8 +261,6 @@ class Pman_Core_Import_Core_geoip extends Pman_Roo return; } - $this->log("Processing Block : IP - {$row['NETWORK_START_IP']} | City_id - {$this->id_mapping[$row['GEONAME_ID']]}"); - $network_mapping = DB_DataObject::factory('core_geoip_network_mapping'); $start_ip = array_pop(explode(":", $row['NETWORK_START_IP'])); -- 2.39.2