--- C:/Web/kbwebhub.ampco.com.au/modules/uc_migs/uc_migs.info	Mon Mar 28 23:15:52 2011
+++ C:/Web/kbwebhub.ampco.com.au/public_html/sites/all/modules/uc_migs/uc_migs.info	Fri Oct 07 13:44:47 2011
@@ -2,10 +2,6 @@
 description = "Integrates MIGS 3rd party (bank hosted) payment gateway."
 dependencies[] = uc_payment
 package = Ubercart - payment
-core = 6.x
-; Information added by drupal.org packaging script on 2011-03-28
-version = "6.x-1.x-dev"
-core = "6.x"
-project = "uc_migs"
-datestamp = "1301314551"
-
+core = 7.x
+; Modified by PeterMoulding.com for Drupal 7, Ubercart 3.0, and CBA.
+files[] = uc_migs.module
--- C:/Web/kbwebhub.ampco.com.au/modules/uc_migs/uc_migs.install	Mon Mar 28 12:56:02 2011
+++ C:/Web/kbwebhub.ampco.com.au/public_html/sites/all/modules/uc_migs/uc_migs.install	Fri Oct 07 11:43:48 2011
@@ -1,13 +1,11 @@
 <?php
 
 /**
- * Implementation of hook_update_N()
- *
- * [#970228] Improved error messages for users (and detailed logging
- * to watchdog) require a rebuild of the theme registry.
+name = "MIGS"
+description = "Integrates MIGS 3rd party (bank hosted) payment gateway."
+dependencies[] = uc_payment
+package = Ubercart - payment
+core = 7.x
+; Modified by PeterMoulding.com for Drupal 7, Ubercart 3.0, and CBA.
+; Modified for a new install with no attempt at an upgrade.
  */
-function uc_migs_update_6000() {
-  $ret = array();
-  drupal_rebuild_theme_registry();
-  return $ret;
-}
--- C:/Web/kbwebhub.ampco.com.au/modules/uc_migs/uc_migs.module	Mon Mar 28 12:56:02 2011
+++ C:/Web/kbwebhub.ampco.com.au/public_html/sites/all/modules/uc_migs/uc_migs.module	Fri Oct 07 13:55:54 2011
@@ -17,6 +17,36 @@
  * Thanks also to previous authors & contributors:
  *  T-Rex Art    - http://www.trexart.com.au
  *  Open Web Lab - http://www.openweblab.com
+core = 7.x
+; Modified by PeterMoulding.com for Drupal 7, Ubercart 3.0, and CBA.
+; Modified for a new install with no attempt at an upgrade.
+
+file_directory_path() has been removed: http://drupal.org/update/modules/6/7#file_directory_path
+Ubercart 3.0-beta4, 2011-7-25
+-----------------------------
+- API:
+    * Removed ability to disable order logging.
+    * Removed the ability to disable payment logging or tracking.
+    * Off-site payment methods can specify simpler redirect forms.
+    * Payment gateways are now only used and supported by uc_credit.
+    * Ordered product titles increased from 128 to 255 characters.
+    * The following hooks are now keyed by ID, though backwards compatibility is kept:
+      * hook_uc_cart_pane()
+      * hook_uc_checkout_pane()
+      * hook_uc_line_item()
+      * hook_uc_payment_gateway()
+      * hook_uc_payment_method()
+      * hook_uc_order_pane()
+      * hook_uc_order_state()
+
  */
 
 /*******************************************************************************
@@ -84,8 +114,11 @@
 
 /**
  * Implementation of hook_payment_method().
+Ubercart 3.0-beta4, 2011-7-25
+    * The following hooks are now keyed by ID, though backwards compatibility is kept:
+      * hook_uc_payment_method()
  */
-function uc_migs_payment_method() {
+function uc_migs_uc_payment_method() {
   $path = base_path() . drupal_get_path('module', 'uc_migs');
   $title = variable_get('uc_migs_method_title', t('Credit card on a secure server.'));
   if ( variable_get('uc_migs_method_title_icons', TRUE) ) {
@@ -486,12 +519,18 @@
  * Helper function to return a named array of CC provider logos to display.
  *
  * Note that you need not override this; you can simply alter the
- * variables or replace the files in the default location.
+ * variables or replace the files in the default location.
+ Drupal 7:
+ file_directory_path() has been removed: http://drupal.org/update/modules/6/7#file_directory_path
+
  */
-function _uc_migs_cc_logos() {
+function _uc_migs_cc_logos() {
+  $files_path = variable_get('file_public_path', conf_path() . '/files');
   $cc_logos = array(
-    'MasterCard' => variable_get('uc_migs_logo_mastercard', file_directory_path() .'/uc_migs/mastercard.gif'),
-    'Visa' => variable_get('uc_migs_logo_visa', file_directory_path() .'/uc_migs/visa.gif'),
+//    'MasterCard' => variable_get('uc_migs_logo_mastercard', file_directory_path() .'/uc_migs/mastercard.gif'),
+    'MasterCard' => variable_get('uc_migs_logo_mastercard', $files_path .'/uc_migs/mastercard.gif'),
+//    'Visa' => variable_get('uc_migs_logo_visa', file_directory_path() .'/uc_migs/visa.gif'),
+    'Visa' => variable_get('uc_migs_logo_visa', $files_path .'/uc_migs/visa.gif'),
   ) ;
   return $cc_logos ;
 }
