@@ 233-242 (lines=10) @@ | ||
230 | * @return boolean |
|
231 | * @throws \EE_Error |
|
232 | */ |
|
233 | public function update_based_on_payments( $transaction_obj_or_id, $save_txn = TRUE ){ |
|
234 | EE_Error::doing_it_wrong( |
|
235 | __CLASS__ . '::' . __FUNCTION__, |
|
236 | sprintf( __( 'This method is deprecated. Please use "%s" instead', 'event_espresso' ), 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()' ), |
|
237 | '4.6.0' |
|
238 | ); |
|
239 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
240 | $transaction_processor = EE_Registry::instance()->load_class( 'Transaction_Processor' ); |
|
241 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment( |
|
242 | $this->ensure_is_obj( $transaction_obj_or_id ) |
|
243 | ); |
|
244 | } |
|
245 |
@@ 964-973 (lines=10) @@ | ||
961 | * @return boolean |
|
962 | * @throws \EE_Error |
|
963 | */ |
|
964 | public function update_based_on_payments() |
|
965 | { |
|
966 | EE_Error::doing_it_wrong( |
|
967 | __CLASS__ . '::' . __FUNCTION__, |
|
968 | sprintf(__('This method is deprecated. Please use "%s" instead', 'event_espresso'), |
|
969 | 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()'), |
|
970 | '4.6.0' |
|
971 | ); |
|
972 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
973 | $transaction_processor = EE_Registry::instance()->load_class('Transaction_Processor'); |
|
974 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment($this); |
|
975 | } |
|
976 |