Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1639-1648 (lines=10) @@
1636
	 *  @access 	public
1637
	 *  @return 	string
1638
	 */
1639
	public function txn_page_url($query_args = array()) {
1640
		if ( ! $this->txn_page_url ) {
1641
			$this->txn_page_url = get_permalink( $this->txn_page_id );
1642
		}
1643
		if($query_args){
1644
			return add_query_arg($query_args,$this->txn_page_url);
1645
		}else{
1646
			return $this->txn_page_url;
1647
		}
1648
	}
1649
	/**
1650
	 *  gets/returns URL for EE thank_you_page
1651
	 *  @param array $query_args like what gets passed to
@@ 1656-1665 (lines=10) @@
1653
	 *  @access 	public
1654
	 *  @return 	string
1655
	 */
1656
	public function thank_you_page_url($query_args = array()) {
1657
		if ( ! $this->thank_you_page_url ) {
1658
			$this->thank_you_page_url = get_permalink( $this->thank_you_page_id );
1659
		}
1660
		if($query_args){
1661
			return add_query_arg($query_args,$this->thank_you_page_url);
1662
		}else{
1663
			return $this->thank_you_page_url;
1664
		}
1665
	}
1666
	/**
1667
	 *  gets/returns URL for EE cancel_page
1668
	 *