* [misc] move code to open.
This commit is contained in:
@@ -1527,6 +1527,7 @@ class projectModel extends model
|
||||
if($unlinkType) $this->unlinkStoryByType($projectID, $unlinkType);
|
||||
}
|
||||
if(empty($oldProject->multiple) and !in_array($oldProject->model, array('waterfall', 'waterfallplus'))) $this->loadModel('execution')->syncNoMultipleSprint($projectID); // 无迭代的非瀑布项目需要更新。
|
||||
if(in_array($this->config->edition, array('max', 'ipd')) && $oldProject->workflowGroup != $project->workflowGroup) $this->replaceDeliverable($projectID, $project->workflowGroup); // 更新交付物关联信息。
|
||||
|
||||
if(dao::isError()) return false;
|
||||
return common::createChanges($oldProject, $project);
|
||||
|
||||
Reference in New Issue
Block a user