Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1309-1313 (lines=5) @@
1306
            $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1307
            $storage[$classPath[1]][] = $this->_params;
1308
        }
1309
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1310
            $moduleConfig['storage'][$appType] = $storage;
1311
        } else {
1312
            $moduleConfig['storage'] = $storage;
1313
        }
1314
        if (empty(static::$storage['options']['share'])) {
1315
            Config::save('module', $moduleConfig, $classPath[0]);
1316
        } else {
@@ 1494-1498 (lines=5) @@
1491
                break;
1492
            }
1493
        }
1494
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1495
            $moduleConfig['storage'][$appType] = $storage;
1496
        } else {
1497
            $moduleConfig['storage'] = $storage;
1498
        }
1499
        if (empty(static::$storage['options']['share'])) {
1500
            Config::save('module', $moduleConfig, $classPath[0]);
1501
        } else {