Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

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