Index: branches/fundraising/extensions/DonationInterface/globalcollect_gateway/globalcollect_gateway.body.php |
— | — | @@ -119,11 +119,11 @@ |
120 | 120 | switch ( $this->adapter->getTransactionType() ) { |
121 | 121 | |
122 | 122 | case 'BANK_TRANSFER': |
123 | | - $this->executeBankTransfer( $wgOut ); |
| 123 | + $this->executeBankTransfer(); |
124 | 124 | break; |
125 | 125 | |
126 | 126 | case 'INSERT_ORDERWITHPAYMENT': |
127 | | - $this->executeInsertOrderWithPayment( $wgOut ); |
| 127 | + $this->executeInsertOrderWithPayment(); |
128 | 128 | break; |
129 | 129 | |
130 | 130 | default: |
— | — | @@ -157,11 +157,11 @@ |
158 | 158 | |
159 | 159 | /** |
160 | 160 | * Execute BANK_TRANSFER |
161 | | - * |
162 | | - * @param OutputPage $wgOut |
163 | 161 | */ |
164 | | - public function executeBankTransfer( &$wgOut ) { |
| 162 | + public function executeBankTransfer() { |
165 | 163 | |
| 164 | + //global $wgOut; |
| 165 | + |
166 | 166 | $result = $this->adapter->do_transaction( 'BANK_TRANSFER' ); |
167 | 167 | $this->adapter->addDonorDataToSession(); |
168 | 168 | |
— | — | @@ -170,11 +170,11 @@ |
171 | 171 | |
172 | 172 | /** |
173 | 173 | * Execute INSERT_ORDERWITHPAYMENT |
174 | | - * |
175 | | - * @param OutputPage $wgOut |
176 | 174 | */ |
177 | | - public function executeInsertOrderWithPayment( &$wgOut ) { |
| 175 | + public function executeInsertOrderWithPayment() { |
178 | 176 | |
| 177 | + global $wgOut; |
| 178 | + |
179 | 179 | $result = $this->adapter->do_transaction( 'INSERT_ORDERWITHPAYMENT' ); |
180 | 180 | $this->adapter->addDonorDataToSession(); |
181 | 181 | //$result = $this->adapter->do_transaction( 'TEST_CONNECTION' ); |