Code Duplication    Length = 8-9 lines in 2 locations

code/control/BuildController.php 2 locations

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