* [misc] move code to open.

This commit is contained in:
sunguangming
2025-09-22 00:36:26 +00:00
parent d83d945d3e
commit c76ed3fe4f
+1
View File
@@ -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);