Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1396-1400 (lines=5) @@
1393
    } else {
1394
      $moduleConfig['storage'] = $storage;
1395
    }
1396
    if (empty(static::$storage['options']['share'])) {
1397
      Config::save('module', $moduleConfig, $classPath[0]);
1398
    } else {
1399
      Config::save('share', $moduleConfig, $classPath[0]);
1400
    }
1401
    return true;
1402
  }
1403
@@ 1593-1597 (lines=5) @@
1590
    } else {
1591
      $moduleConfig['storage'] = $storage;
1592
    }
1593
    if (empty(static::$storage['options']['share'])) {
1594
      Config::save('module', $moduleConfig, $classPath[0]);
1595
    } else {
1596
      Config::save('share', $moduleConfig, $classPath[0]);
1597
    }
1598
    return true;
1599
  }
1600