* change for upgrade.
This commit is contained in:
@@ -70,3 +70,4 @@ $lang->upgrade->fromVersions['4_0_beta2'] = '4.0 BETA2';
|
||||
$lang->upgrade->fromVersions['4_0'] = '4.0';
|
||||
$lang->upgrade->fromVersions['4_0_1'] = '4.0.1';
|
||||
$lang->upgrade->fromVersions['4_1'] = '4.1';
|
||||
$lang->upgrade->fromVersions['4_2_beta'] = '4.2.beta';
|
||||
|
||||
@@ -71,3 +71,4 @@ $lang->upgrade->fromVersions['4_0_beta2'] = '4.0 BETA2';
|
||||
$lang->upgrade->fromVersions['4_0'] = '4.0';
|
||||
$lang->upgrade->fromVersions['4_0_1'] = '4.0.1';
|
||||
$lang->upgrade->fromVersions['4_1'] = '4.1';
|
||||
$lang->upgrade->fromVersions['4_2_beta'] = '4.2.beta';
|
||||
|
||||
@@ -90,6 +90,9 @@ class upgradeModel extends model
|
||||
$this->addPriv4_1();
|
||||
$this->processTaskFinish();
|
||||
$this->deleteCompany();
|
||||
case '4_2_beta':
|
||||
$this->execSQL($this->getUpgradeFile('4.2'));
|
||||
|
||||
default: if(!$this->isError()) $this->setting->updateVersion($this->config->version);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user