core/business/EE_Transaction_Payments.class.php 1 location
|
@@ 330-343 (lines=14) @@
|
| 327 |
|
* @deprecated 4.9.12 |
| 328 |
|
* @param string $old_txn_status |
| 329 |
|
*/ |
| 330 |
|
public function set_old_txn_status( $old_txn_status ) { |
| 331 |
|
EE_Error::doing_it_wrong( |
| 332 |
|
__METHOD__, |
| 333 |
|
esc_html__( |
| 334 |
|
'This logic has been moved into \EE_Transaction::set_old_txn_status(), please use that method instead.', |
| 335 |
|
'event_espresso' |
| 336 |
|
), |
| 337 |
|
'4.9.12' |
| 338 |
|
); |
| 339 |
|
// only set the first time |
| 340 |
|
if ( $this->_old_txn_status === null ) { |
| 341 |
|
$this->_old_txn_status = $old_txn_status; |
| 342 |
|
} |
| 343 |
|
} |
| 344 |
|
|
| 345 |
|
|
| 346 |
|
|
core/business/EE_Transaction_Processor.class.php 1 location
|
@@ 579-592 (lines=14) @@
|
| 576 |
|
* @deprecated 4.9.12 |
| 577 |
|
* @param string $old_txn_status |
| 578 |
|
*/ |
| 579 |
|
public function set_old_txn_status( $old_txn_status ) { |
| 580 |
|
EE_Error::doing_it_wrong( |
| 581 |
|
__METHOD__, |
| 582 |
|
esc_html__( |
| 583 |
|
'This logic has been moved into \EE_Transaction::set_old_txn_status(), please use that method instead.', |
| 584 |
|
'event_espresso' |
| 585 |
|
), |
| 586 |
|
'4.9.12' |
| 587 |
|
); |
| 588 |
|
// only set the first time |
| 589 |
|
if ( $this->_old_txn_status === null ) { |
| 590 |
|
$this->_old_txn_status = $old_txn_status; |
| 591 |
|
} |
| 592 |
|
} |
| 593 |
|
|
| 594 |
|
|
| 595 |
|
|