Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1824-1833 (lines=10) @@
1821
     * @access    public
1822
     * @return    string
1823
     */
1824
    public function txn_page_url($query_args = array())
1825
    {
1826
        if (! $this->txn_page_url) {
1827
            $this->txn_page_url = get_permalink($this->txn_page_id);
1828
        }
1829
        if ($query_args) {
1830
            return add_query_arg($query_args, $this->txn_page_url);
1831
        } else {
1832
            return $this->txn_page_url;
1833
        }
1834
    }
1835
1836
@@ 1846-1855 (lines=10) @@
1843
     * @access    public
1844
     * @return    string
1845
     */
1846
    public function thank_you_page_url($query_args = array())
1847
    {
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