更新 'installer/Migration/V5_4_0/Migration.php'

This commit is contained in:
zhongjin 2023-05-05 23:17:53 +08:00
parent 694a7dfecf
commit d6fff3c0a7

View File

@ -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')