@@ 211-220 (lines=10) @@ | ||
208 | * @return boolean |
|
209 | * @throws \EE_Error |
|
210 | */ |
|
211 | public function update_based_on_payments( $transaction_obj_or_id, $save_txn = TRUE ){ |
|
212 | EE_Error::doing_it_wrong( |
|
213 | __CLASS__ . '::' . __FUNCTION__, |
|
214 | sprintf( __( 'This method is deprecated. Please use "%s" instead', 'event_espresso' ), 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()' ), |
|
215 | '4.6.0' |
|
216 | ); |
|
217 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
218 | $transaction_processor = EE_Registry::instance()->load_class( 'Transaction_Processor' ); |
|
219 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment( |
|
220 | $this->ensure_is_obj( $transaction_obj_or_id ) |
|
221 | ); |
|
222 | } |
|
223 |
@@ 656-665 (lines=10) @@ | ||
653 | * @return boolean |
|
654 | * @throws \EE_Error |
|
655 | */ |
|
656 | public function update_based_on_payments(){ |
|
657 | EE_Error::doing_it_wrong( |
|
658 | __CLASS__ . '::' . __FUNCTION__, |
|
659 | sprintf( __( 'This method is deprecated. Please use "%s" instead', 'event_espresso' ), 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()' ), |
|
660 | '4.6.0' |
|
661 | ); |
|
662 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
663 | $transaction_processor = EE_Registry::instance()->load_class( 'Transaction_Processor' ); |
|
664 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment( $this ); |
|
665 | } |
|
666 | ||
667 | ||
668 |