--- uc_directdebit.module 2008-10-03 16:50:05.000000000 +0200 +++ new/uc_directdebit.module 2008-10-03 17:07:44.000000000 +0200 @@ -96,11 +96,6 @@ function uc_directdebit_order($op, &$arg // there are no order total modifications // TODO: return 0 ? break; - - default: - // oeps - //TODO: can_update, new, update, submit - watchdog( "uc_dd_order", "$op ($order_id) missed"); } } /** @@ -144,7 +139,6 @@ function uc_directdebit_payment_method_c $changes['payment_details'] = $payment_details; return $changes; -/* case 'order-load': // Nothing to do break; @@ -152,7 +146,7 @@ function uc_directdebit_payment_method_c case 'order-save': // Nothing to do break; - */ + case 'order-view': $data = $arg1->payment_details; return theme('uc_directdebit_order_view', $data); @@ -174,10 +168,6 @@ function uc_directdebit_payment_method_c ); return $form; - - default: - // Oeps - watchdog( "uc_dd_callback", "$op missed"); } }