Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php |
— | — | @@ -1878,13 +1878,13 @@ |
1879 | 1879 | if ( $this->getValidationAction() == 'challenge' ) { |
1880 | 1880 | // expose a hook for external handling of trxns flagged for challenge (eg captcha) |
1881 | 1881 | wfRunHooks( 'GatewayChallenge', array( &$this ) ); |
| 1882 | + } |
1882 | 1883 | |
1883 | | - // if the transaction was flagged for rejection |
1884 | | - if ( $this->getValidationAction() == 'reject' ) { |
1885 | | - // expose a hook for external handling of trxns flagged for rejection |
1886 | | - wfRunHooks( 'GatewayReject', array( &$this ) ); |
1887 | | - $this->unsetAllSessionData(); |
1888 | | - } |
| 1884 | + // if the transaction was flagged for rejection |
| 1885 | + if ( $this->getValidationAction() == 'reject' ) { |
| 1886 | + // expose a hook for external handling of trxns flagged for rejection |
| 1887 | + wfRunHooks( 'GatewayReject', array( &$this ) ); |
| 1888 | + $this->unsetAllSessionData(); |
1889 | 1889 | } |
1890 | 1890 | } |
1891 | 1891 | |