https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102338

Revision: 102338
Author:   jpostlethwaite
Date:     2011-11-07 22:31:19 +0000 (Mon, 07 Nov 2011)
Log Message:
-----------
Updating required fields for direct debit.

Modified Paths:
--------------
    
trunk/extensions/DonationInterface/globalcollect_gateway/forms/TwoStepAmount.php

Modified: 
trunk/extensions/DonationInterface/globalcollect_gateway/forms/TwoStepAmount.php
===================================================================
--- 
trunk/extensions/DonationInterface/globalcollect_gateway/forms/TwoStepAmount.php
    2011-11-07 22:29:28 UTC (rev 102337)
+++ 
trunk/extensions/DonationInterface/globalcollect_gateway/forms/TwoStepAmount.php
    2011-11-07 22:31:19 UTC (rev 102338)
@@ -335,7 +335,6 @@
                        'bank_code'                     => array( 'required' => 
true, ),
                        'bank_name'                     => array( 'required' => 
true, ),
                        'branch_code'           => array( 'required' => true, ),
-                       'direct_debit_text'     => array( 'required' => true, ),
                        'iban'                          => array( 'required' => 
true, ),
                );
                
@@ -349,8 +348,6 @@
                }
                elseif ( $country == 'BE' ) {
                        
-                       unset( $fields['bank_code'] );
-                       unset( $fields['bank_check_digit'] );
                        unset( $fields['branch_code'] );
                        unset( $fields['iban'] );
                }


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to