更新 'installer/Migration/V5_4_0/Migration.php'
This commit is contained in:
parent
694a7dfecf
commit
d6fff3c0a7
@ -28,7 +28,6 @@ use OrangeHRM\Installer\Util\V1\AbstractMigration;
|
||||
class Migration extends AbstractMigration
|
||||
{
|
||||
protected ?LangStringHelper $langStringHelper = null;
|
||||
protected ?TranslationHelper $translationHelper = null;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
@ -41,14 +40,6 @@ class Migration extends AbstractMigration
|
||||
$this->getLangStringHelper()->insertOrUpdateLangStrings($group);
|
||||
}
|
||||
|
||||
$langCodes = [
|
||||
'zh_Hans_CN'
|
||||
];
|
||||
foreach ($langCodes as $langCode) {
|
||||
$this->getTranslationHelper()->addTranslations($langCode);
|
||||
}
|
||||
|
||||
$this->updateLangStringVersion($this->getVersion());
|
||||
|
||||
$this->getConnection()->createQueryBuilder()
|
||||
->insert('ohrm_module')
|
||||
|
Loading…
Reference in New Issue
Block a user