Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1815-1824 (lines=10) @@
1812
	 * @access    public
1813
	 * @return    string
1814
	 */
1815
	public function txn_page_url( $query_args = array() ) {
1816
		if ( ! $this->txn_page_url ) {
1817
			$this->txn_page_url = get_permalink( $this->txn_page_id );
1818
		}
1819
		if ( $query_args ) {
1820
			return add_query_arg( $query_args, $this->txn_page_url );
1821
		} else {
1822
			return $this->txn_page_url;
1823
		}
1824
	}
1825
1826
1827
@@ 1836-1845 (lines=10) @@
1833
	 * @access    public
1834
	 * @return    string
1835
	 */
1836
	public function thank_you_page_url( $query_args = array() ) {
1837
		if ( ! $this->thank_you_page_url ) {
1838
			$this->thank_you_page_url = get_permalink( $this->thank_you_page_id );
1839
		}
1840
		if ( $query_args ) {
1841
			return add_query_arg( $query_args, $this->thank_you_page_url );
1842
		} else {
1843
			return $this->thank_you_page_url;
1844
		}
1845
	}
1846
1847
1848