Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

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