* Add pro upgrade to biz.

This commit is contained in:
sgm0422
2022-03-10 10:42:29 +08:00
parent cc0ae84104
commit 479a6f5575
+8 -5
View File
@@ -126,12 +126,15 @@ class upgradeModel extends model
}
}
/* Means open source upgrade to biz or max. */
if($fromEdition == 'open' and $this->config->edition != 'open')
/* Means open source/pro upgrade to biz or max. */
if($this->config->edition != 'open')
{
$this->loadModel('effort')->convertEstToEffort();
$this->importBuildinModules();
$this->addSubStatus();
if($fromEdition == 'open') $this->loadModel('effort')->convertEstToEffort();
if($fromEdition == 'open' or $fromEdition == 'pro')
{
$this->importBuildinModules();
$this->addSubStatus();
}
}
}