Code Duplication    Length = 8-9 lines in 2 locations

code/control/BuildController.php 2 locations

@@ 93-100 (lines=8) @@
90
        return $this->redirect($this->Link('primaryformstart'));
91
    }
92
93
    function primaryformstart()
94
    {
95
        $this->PrimaryForm();
96
        $this->prevLink = $this->Link('startover');
97
        \SSViewer::set_source_file_comments(false);
98
99
        return $this->renderWith('BuildControllerForm');
100
    }
101
102
    function PrimaryForm()
103
    {
@@ 117-125 (lines=9) @@
114
    }
115
116
117
    function secondaryformstart()
118
    {
119
        $this->step = 2;
120
        $this->SecondaryForm();
121
        $this->prevLink = $this->Link('primaryformstart');
122
        \SSViewer::set_source_file_comments(false);
123
124
        return $this->renderWith('BuildControllerForm');
125
    }
126
127
    function SecondaryForm()
128
    {