Index: uc_directdebit/uc_directdebit.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/directdebit/uc_directdebit/uc_directdebit.module,v
retrieving revision 1.3
diff -u -p -r1.3 uc_directdebit.module
--- uc_directdebit/uc_directdebit.module	1 Apr 2008 15:08:10 -0000	1.3
+++ uc_directdebit/uc_directdebit.module	3 Oct 2008 14:51:49 -0000
@@ -1,32 +1,32 @@
-<?php
-// $Id: uc_directdebit.module,v 1.3 2008/04/01 15:08:10 clemenstolboom Exp $
-
-/**
- * @file
- * Purpose: adds a direct debit payment method to Ubercart (www.ubercart.org)
- *
- * Author: Clemens Tolboom clemens@build2be.nl
- */
-
-
-/**
+<?php
+// $Id: uc_directdebit.module,v 1.3 2008/04/01 15:08:10 clemenstolboom Exp $
+
+/**
+ * @file
+ * Purpose: adds a direct debit payment method to Ubercart (www.ubercart.org)
+ *
+ * Author: Clemens Tolboom clemens@build2be.nl
+ */
+
+
+/**
  * Implementation of hook_payment_method().
  * 
- * The callback is called when selected by the customer
- */
-function uc_directdebit_payment_method() {
-  $methods[] = array(
-    'id' => 'directdebit',
-    'name' => t('Direct Debit'),
-    'title' => t('Direct Debit'),
-    'desc' => t('Allow us to withdraw money from your bankaccount.'),
-    'callback' => 'uc_directdebit_payment_method_callback',
-    'weight' => 3,
-    'checkout' => TRUE,
-    'backend' => TRUE,
-  );
-  return $methods;
-}
+ * The callback is called when selected by the customer
+ */
+function uc_directdebit_payment_method() {
+  $methods[] = array(
+    'id' => 'directdebit',
+    'name' => t('Direct Debit'),
+    'title' => t('Direct Debit'),
+    'desc' => t('Allow us to withdraw money from your bankaccount.'),
+    'callback' => 'uc_directdebit_payment_method_callback',
+    'weight' => 3,
+    'checkout' => TRUE,
+    'backend' => TRUE,
+  );
+  return $methods;
+}
 
 /**
  * Implementation of hook_order()
@@ -102,8 +102,8 @@ function uc_directdebit_order($op, &$arg
       //TODO: can_update, new, update, submit
       watchdog( "uc_dd_order", "$op ($order_id) missed");
   }
-}
-/**
+}
+/**
  * Handle the bank deposit payment method.
  *
  * There are a few operator types available:
@@ -112,18 +112,18 @@ function uc_directdebit_order($op, &$arg
  * - settings : shop admin is making settings changes
  *
  * @param $op operator do act upon
- * @param $arg1 the order object to use or manipulate
- */
+ * @param $arg1 the order object to use or manipulate
+ */
 function uc_directdebit_payment_method_callback($op, &$arg1) {
   $order_id = is_object($arg1) ?$arg1->order_id : $arg1['order_id'];
   //watchdog( "uc_dd_callback",  "$op ($order_id) " . gettype($arg1));
 
-  switch ($op) {
+  switch ($op) {
     case 'cart-details':
     case 'order-details':
       // this is an ajax callback
       return uc_strip_form(drupal_get_form('directdebit_form', $arg1));
-
+
     case 'cart-review':
       return _uc_directdebit_cart_review( $arg1->payment_details);
 
@@ -177,9 +177,9 @@ function uc_directdebit_payment_method_c
        
     default:
       // Oeps
-      watchdog( "uc_dd_callback", "$op missed");
-  }
-}
+      watchdog( "uc_dd_callback", "$op missed");
+  }
+}
 
 /**
  * Renders the payment data while reviewing the cart
