更新 'installer/Migration/V5_4_0/Migration.php'
This commit is contained in:
parent
dccf277a63
commit
fc27db38c9
@ -37,14 +37,6 @@ class Migration extends AbstractMigration
|
||||
public function up(): void
|
||||
{
|
||||
|
||||
$langCodes = [
|
||||
'zh_Hans_CN'
|
||||
];
|
||||
foreach ($langCodes as $langCode) {
|
||||
$this->getTranslationHelper()->addTranslations($langCode);
|
||||
}
|
||||
|
||||
|
||||
$groups = ['admin', 'auth', 'general'];
|
||||
foreach ($groups as $group) {
|
||||
$this->getLangStringHelper()->insertOrUpdateLangStrings($group);
|
||||
@ -52,6 +44,13 @@ class Migration extends AbstractMigration
|
||||
|
||||
$this->updateLangStringVersion($this->getVersion());
|
||||
|
||||
$langCodes = [
|
||||
'zh_Hans_CN'
|
||||
];
|
||||
foreach ($langCodes as $langCode) {
|
||||
$this->getTranslationHelper()->addTranslations($langCode);
|
||||
}
|
||||
|
||||
$this->getConnection()->createQueryBuilder()
|
||||
->insert('ohrm_module')
|
||||
->values(
|
||||
|
Loading…
Reference in New Issue
Block a user