@@ 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) |
@@ 986-995 (lines=10) @@ | ||
983 | * @return boolean |
|
984 | * @throws \EE_Error |
|
985 | */ |
|
986 | public function update_based_on_payments() |
|
987 | { |
|
988 | EE_Error::doing_it_wrong( |
|
989 | __CLASS__ . '::' . __FUNCTION__, |
|
990 | sprintf(__('This method is deprecated. Please use "%s" instead', 'event_espresso'), |
|
991 | 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()'), |
|
992 | '4.6.0' |
|
993 | ); |
|
994 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
995 | $transaction_processor = EE_Registry::instance()->load_class('Transaction_Processor'); |
|
996 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment($this); |
|
997 | } |
|
998 |