Code Duplication    Length = 8-9 lines in 2 locations

core/db_classes/EE_Registration.class.php 2 locations

@@ 877-885 (lines=9) @@
874
     * @return string
875
     * @throws EE_Error
876
     */
877
    public function payment_overview_url($clear_session = false)
878
    {
879
        return add_query_arg(array(
880
            'e_reg_url_link' => $this->reg_url_link(),
881
            'step'           => 'payment_options',
882
            'revisit'        => true,
883
            'clear_session' => (bool) $clear_session
884
        ), EE_Registry::instance()->CFG->core->reg_page_url());
885
    }
886
887
888
    /**
@@ 895-902 (lines=8) @@
892
     * @return string
893
     * @throws EE_Error
894
     */
895
    public function edit_attendee_information_url()
896
    {
897
        return add_query_arg(array(
898
            'e_reg_url_link' => $this->reg_url_link(),
899
            'step'           => 'attendee_information',
900
            'revisit'        => true,
901
        ), EE_Registry::instance()->CFG->core->reg_page_url());
902
    }
903
904
905
    /**