Code Duplication    Length = 11-11 lines in 2 locations

core/business/EE_Transaction_Payments.class.php 1 location

@@ 387-397 (lines=11) @@
384
	 * @deprecated 4.9.12
385
	 * @return bool
386
	 */
387
	public function txn_status_updated() {
388
		EE_Error::doing_it_wrong(
389
			__METHOD__,
390
			esc_html__(
391
				'This logic has been moved into \EE_Transaction::txn_status_updated(), please use that method instead.',
392
				'event_espresso'
393
			),
394
			'4.9.12'
395
		);
396
		return $this->_new_txn_status !== $this->_old_txn_status && $this->_old_txn_status !== null ? true : false;
397
	}
398
399
400

core/business/EE_Transaction_Processor.class.php 1 location

@@ 638-648 (lines=11) @@
635
	 * @deprecated 4.9.12
636
	 * @return bool
637
	 */
638
	public function txn_status_updated() {
639
		EE_Error::doing_it_wrong(
640
			__METHOD__,
641
			esc_html__(
642
				'This logic has been moved into \EE_Transaction::txn_status_updated(), please use that method instead.',
643
				'event_espresso'
644
			),
645
			'4.9.12'
646
		);
647
		return $this->_new_txn_status !== $this->_old_txn_status && $this->_old_txn_status !== null ? true : false;
648
	}
649
650
651