Code Duplication    Length = 8-9 lines in 2 locations

code/control/BuildController.php 2 locations

@@ 140-147 (lines=8) @@
137
        return $this->redirect($this->Link('primaryformstart'));
138
    }
139
140
    function primaryformstart()
141
    {
142
        $this->PrimaryForm();
143
        $this->prevLink = $this->Link('startover');
144
        \SSViewer::set_source_file_comments(false);
145
146
        return $this->renderWith('BuildControllerForm');
147
    }
148
149
    function PrimaryForm()
150
    {
@@ 164-172 (lines=9) @@
161
    }
162
163
164
    function secondaryformstart()
165
    {
166
        $this->step = 2;
167
        $this->SecondaryForm();
168
        $this->prevLink = $this->Link('primaryformstart');
169
        \SSViewer::set_source_file_comments(false);
170
171
        return $this->renderWith('BuildControllerForm');
172
    }
173
174
    function SecondaryForm()
175
    {