Code Duplication    Length = 8-9 lines in 2 locations

core/db_classes/EE_Registration.class.php 2 locations

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