diff --git a/module/action/lang/zh-cn.php b/module/action/lang/zh-cn.php index ed47d156df..4b8375e262 100755 --- a/module/action/lang/zh-cn.php +++ b/module/action/lang/zh-cn.php @@ -397,7 +397,7 @@ $lang->action->label->submitreview = '提交了评审'; $lang->action->label->switchtolean = '从综合模式切换为迅捷模式'; $lang->action->label->linkedrepo = '关联代码库到'; $lang->action->label->unlinkedrepo = '取消了项目与代码库的关联'; -$lang->action->label->unlinkproduct = '取消了项目与产品的关联'; +$lang->action->label->unlinkproduct = '取消了与产品的关联'; /* 动态信息按照对象分组 */ $lang->action->dynamicAction = new stdclass(); diff --git a/module/project/control.php b/module/project/control.php index b7e58503ee..4b45d79c33 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -2163,8 +2163,6 @@ class project extends control $unlinkedProductPairs = array(); foreach($unlinkedProducts as $unlinkedProduct) $unlinkedProductPairs[$unlinkedProduct] = $oldProducts[$unlinkedProduct]->name; - $this->action->create('project', $projectID, 'unlinkproduct', '', implode(',', $unlinkedProductPairs)); - $executionIDList = $this->execution->getIdList($projectID); foreach($executionIDList as $executionID) $this->action->create('execution', $executionID, 'unlinkproduct', '', implode(',', $unlinkedProductPairs)); }