zhongjin 1 year ago
parent 164ed1966d
commit 397c620421

@ -28,7 +28,6 @@ use OrangeHRM\Installer\Util\V1\AbstractMigration;
class Migration extends AbstractMigration
{
protected ?LangStringHelper $langStringHelper = null;
protected ?TranslationHelper $translationHelper = null;
/**
@ -48,10 +47,9 @@ class Migration extends AbstractMigration
foreach ($langCodes as $langCode) {
$this->getTranslationHelper()->addTranslations($langCode);
}
$this->updateLangStringVersion($this->getVersion());
$this->getConnection()->createQueryBuilder()
->insert('ohrm_module')
->values(
@ -157,7 +155,7 @@ class Migration extends AbstractMigration
}
return $this->translationHelper;
}
private function updateLangStringVersion(string $version): void
{
$qb = $this->createQueryBuilder()

@ -1 +1 @@
1683284647501
1683297384078

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save