* Adjust the code.
This commit is contained in:
@@ -2790,7 +2790,7 @@ class upgradeModel extends model
|
||||
$fromVersion = $this->config->installedVersion;
|
||||
$needProcess = array();
|
||||
if(strpos($fromVersion, 'max') === false and strpos($fromVersion, 'biz') === false and (strpos($fromVersion, 'pro') === false ? version_compare($fromVersion, '8.3', '<') : version_compare($fromVersion, 'pro5.4', '<'))) $needProcess['updateFile'] = true;
|
||||
if(strpos($fromVersion, 'max') === false)
|
||||
if(strpos($fromVersion, 'max') === false and $this->config->systemMode == 'new')
|
||||
{
|
||||
if(strpos($fromVersion, 'pro') !== false and version_compare($fromVersion, 'pro10.0', '<'))
|
||||
{
|
||||
@@ -2800,7 +2800,7 @@ class upgradeModel extends model
|
||||
{
|
||||
$needProcess['search'] = true;
|
||||
}
|
||||
elseif(version_compare($fromVersion, '15.0', '<'))
|
||||
elseif(version_compare($fromVersion, '15.0.rc1', '<'))
|
||||
{
|
||||
$needProcess['search'] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user