Code Duplication    Length = 11-11 lines in 2 locations

src/lib/Zikula/Bundle/CoreInstallerBundle/Controller/AjaxUpgradeController.php 2 locations

@@ 208-218 (lines=11) @@
205
        return true;
206
    }
207
208
    private function from142to143()
209
    {
210
        if (version_compare($this->currentVersion, '1.4.3', '>=')) {
211
            return true;
212
        }
213
        $this->installModule('ZikulaZAuthModule');
214
        $this->reSyncAndActivateModules();
215
        $this->setModuleCategory('ZikulaZAuthModule', $this->translator->__('Users'));
216
217
        return true;
218
    }
219
220
    private function from143to144()
221
    {
@@ 220-230 (lines=11) @@
217
        return true;
218
    }
219
220
    private function from143to144()
221
    {
222
        if (version_compare($this->currentVersion, '1.4.4', '>=')) {
223
            return true;
224
        }
225
        $this->installModule('ZikulaMenuModule');
226
        $this->reSyncAndActivateModules();
227
        $this->setModuleCategory('ZikulaMenuModule', $this->translator->__('Content'));
228
229
        return true;
230
    }
231
232
    private function from144to145()
233
    {