Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1826-1835 (lines=10) @@
1823
	 * @access    public
1824
	 * @return    string
1825
	 */
1826
	public function txn_page_url( $query_args = array() ) {
1827
		if ( ! $this->txn_page_url ) {
1828
			$this->txn_page_url = get_permalink( $this->txn_page_id );
1829
		}
1830
		if ( $query_args ) {
1831
			return add_query_arg( $query_args, $this->txn_page_url );
1832
		} else {
1833
			return $this->txn_page_url;
1834
		}
1835
	}
1836
1837
1838
@@ 1847-1856 (lines=10) @@
1844
	 * @access    public
1845
	 * @return    string
1846
	 */
1847
	public function thank_you_page_url( $query_args = array() ) {
1848
		if ( ! $this->thank_you_page_url ) {
1849
			$this->thank_you_page_url = get_permalink( $this->thank_you_page_id );
1850
		}
1851
		if ( $query_args ) {
1852
			return add_query_arg( $query_args, $this->thank_you_page_url );
1853
		} else {
1854
			return $this->thank_you_page_url;
1855
		}
1856
	}
1857
1858
1859