| @@ 260-269 (lines=10) @@ | ||
| 257 | * @return boolean |
|
| 258 | * @throws \EE_Error |
|
| 259 | */ |
|
| 260 | public function update_based_on_payments($transaction_obj_or_id, $save_txn = true) |
|
| 261 | { |
|
| 262 | EE_Error::doing_it_wrong( |
|
| 263 | __CLASS__ . '::' . __FUNCTION__, |
|
| 264 | sprintf(__('This method is deprecated. Please use "%s" instead', 'event_espresso'), |
|
| 265 | 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()'), |
|
| 266 | '4.6.0' |
|
| 267 | ); |
|
| 268 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
| 269 | $transaction_processor = EE_Registry::instance()->load_class('Transaction_Processor'); |
|
| 270 | ||
| 271 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment( |
|
| 272 | $this->ensure_is_obj($transaction_obj_or_id) |
|
| @@ 985-994 (lines=10) @@ | ||
| 982 | * @return boolean |
|
| 983 | * @throws \EE_Error |
|
| 984 | */ |
|
| 985 | public function update_based_on_payments() |
|
| 986 | { |
|
| 987 | EE_Error::doing_it_wrong( |
|
| 988 | __CLASS__ . '::' . __FUNCTION__, |
|
| 989 | sprintf(__('This method is deprecated. Please use "%s" instead', 'event_espresso'), |
|
| 990 | 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()'), |
|
| 991 | '4.6.0' |
|
| 992 | ); |
|
| 993 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
| 994 | $transaction_processor = EE_Registry::instance()->load_class('Transaction_Processor'); |
|
| 995 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment($this); |
|
| 996 | } |
|
| 997 | ||