Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1819-1828 (lines=10) @@
1816
	 * @access    public
1817
	 * @return    string
1818
	 */
1819
	public function txn_page_url( $query_args = array() ) {
1820
		if ( ! $this->txn_page_url ) {
1821
			$this->txn_page_url = get_permalink( $this->txn_page_id );
1822
		}
1823
		if ( $query_args ) {
1824
			return add_query_arg( $query_args, $this->txn_page_url );
1825
		} else {
1826
			return $this->txn_page_url;
1827
		}
1828
	}
1829
1830
1831
@@ 1840-1849 (lines=10) @@
1837
	 * @access    public
1838
	 * @return    string
1839
	 */
1840
	public function thank_you_page_url( $query_args = array() ) {
1841
		if ( ! $this->thank_you_page_url ) {
1842
			$this->thank_you_page_url = get_permalink( $this->thank_you_page_id );
1843
		}
1844
		if ( $query_args ) {
1845
			return add_query_arg( $query_args, $this->thank_you_page_url );
1846
		} else {
1847
			return $this->thank_you_page_url;
1848
		}
1849
	}
1850
1851
1852