Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1844-1853 (lines=10) @@
1841
	 * @access    public
1842
	 * @return    string
1843
	 */
1844
	public function txn_page_url( $query_args = array() ) {
1845
		if ( ! $this->txn_page_url ) {
1846
			$this->txn_page_url = get_permalink( $this->txn_page_id );
1847
		}
1848
		if ( $query_args ) {
1849
			return add_query_arg( $query_args, $this->txn_page_url );
1850
		} else {
1851
			return $this->txn_page_url;
1852
		}
1853
	}
1854
1855
1856
@@ 1865-1874 (lines=10) @@
1862
	 * @access    public
1863
	 * @return    string
1864
	 */
1865
	public function thank_you_page_url( $query_args = array() ) {
1866
		if ( ! $this->thank_you_page_url ) {
1867
			$this->thank_you_page_url = get_permalink( $this->thank_you_page_id );
1868
		}
1869
		if ( $query_args ) {
1870
			return add_query_arg( $query_args, $this->thank_you_page_url );
1871
		} else {
1872
			return $this->thank_you_page_url;
1873
		}
1874
	}
1875
1876
1877