* Finish task 70572.

This commit is contained in:
daitingting
2022-09-27 03:19:27 +00:00
parent 2d868419b2
commit 799ec7aeeb
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -158,6 +158,7 @@ class upgrade extends control
$openVersion = $this->upgrade->getOpenVersion(str_replace('.', '_', $fromVersion));
$selectMode = true;
if($systemMode == 'classic')
{
$this->loadModel('setting')->setItem('system.common.global.mode', 'lean');
+2
View File
@@ -7580,6 +7580,8 @@ class upgradeModel extends model
$productIdList = $this->dao->select('product')->from(TABLE_PROJECTPRODUCT)->where('project')->eq($sprint->id)->fetchPairs();
$this->processMergedData($programID, $projectID, '', $productIdList, array($sprint->id));
if($fromMode == 'classic') $this->dao->update(TABLE_PROJECT)->set('multiple')->eq('0')->where('id')->eq($sprint->id)->exec();
}
$this->fixProjectPath($programID);