Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1789-1798 (lines=10) @@
1786
	 * @access    public
1787
	 * @return    string
1788
	 */
1789
	public function txn_page_url( $query_args = array() ) {
1790
		if ( ! $this->txn_page_url ) {
1791
			$this->txn_page_url = get_permalink( $this->txn_page_id );
1792
		}
1793
		if ( $query_args ) {
1794
			return add_query_arg( $query_args, $this->txn_page_url );
1795
		} else {
1796
			return $this->txn_page_url;
1797
		}
1798
	}
1799
1800
1801
@@ 1810-1819 (lines=10) @@
1807
	 * @access    public
1808
	 * @return    string
1809
	 */
1810
	public function thank_you_page_url( $query_args = array() ) {
1811
		if ( ! $this->thank_you_page_url ) {
1812
			$this->thank_you_page_url = get_permalink( $this->thank_you_page_id );
1813
		}
1814
		if ( $query_args ) {
1815
			return add_query_arg( $query_args, $this->thank_you_page_url );
1816
		} else {
1817
			return $this->thank_you_page_url;
1818
		}
1819
	}
1820
1821
1822