* change for upgrade.

This commit is contained in:
wyd621
2013-07-29 14:03:31 +08:00
parent 882a119c7c
commit e372173a70
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
4.2.beta
4.3.beta
+1
View File
@@ -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';
+1
View File
@@ -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';
+3
View File
@@ -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);
}