=== renamed file 'uc_store/countries/ireland_372_1.cif' => 'uc_store/countries/ireland_372_2.cif'
--- uc_store/countries/ireland_372_1.cif	2008-10-28 12:57:40 +0000
+++ uc_store/countries/ireland_372_2.cif	2009-02-06 18:32:20 +0000
@@ -4,11 +4,11 @@
 // Note: Ireland does not currently have postal codes but it has been announced
 // that they will be implemented - so I left the postal code in the address definition.
 // http://www.dcmnr.gov.ie/Press+Releases/Dempsey+announces+programme+to+introduce+postcodes+in+Ireland+by+1st+January+2008.htm
-// 
+//
 
 function ireland_install() {
   // VALUES = Country ID, Country Name, 2-digit Code, 3-digit Code, File Version
-  db_query("INSERT INTO {uc_countries} VALUES ('372', 'Ireland', 'IE', 'IRL', 1)");
+  db_query("INSERT INTO {uc_countries} VALUES ('372', 'Ireland', 'IE', 'IRL', 2)");
 
   // Make the entries in the zones table.
   db_query("INSERT INTO {uc_zones} (zone_country_id, zone_code, zone_name) VALUES "
@@ -41,10 +41,17 @@
 
   uc_set_address_format(372,
     "!company\r\n!first_name !last_name\r\n!street1\r\n!street2"
-   ."\r\n!city, !zone_code !postal_code\r\n!country_name_if");
+   ."\r\n!city, !zone_name !postal_code\r\n!country_name_if");
 }
 
 function ireland_update($version) {
+  switch ($version) {
+    case 2:
+      uc_set_address_format(372,
+        "!company\r\n!first_name !last_name\r\n!street1\r\n!street2"
+       ."\r\n!city, !zone_name !postal_code\r\n!country_name_if");
+      break;
+  }
 }
 
 function ireland_uninstall() {

