Code Duplication    Length = 10-10 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1915-1924 (lines=10) @@
1912
     * @access    public
1913
     * @return    string
1914
     */
1915
    public function txn_page_url($query_args = array())
1916
    {
1917
        if (! $this->txn_page_url) {
1918
            $this->txn_page_url = get_permalink($this->txn_page_id);
1919
        }
1920
        if ($query_args) {
1921
            return add_query_arg($query_args, $this->txn_page_url);
1922
        } else {
1923
            return $this->txn_page_url;
1924
        }
1925
    }
1926
1927
@@ 1937-1946 (lines=10) @@
1934
     * @access    public
1935
     * @return    string
1936
     */
1937
    public function thank_you_page_url($query_args = array())
1938
    {
1939
        if (! $this->thank_you_page_url) {
1940
            $this->thank_you_page_url = get_permalink($this->thank_you_page_id);
1941
        }
1942
        if ($query_args) {
1943
            return add_query_arg($query_args, $this->thank_you_page_url);
1944
        } else {
1945
            return $this->thank_you_page_url;
1946
        }
1947
    }
1948
1949