* move the common::saveProjectState to project.

This commit is contained in:
wangchunsheng
2010-11-11 13:37:28 +00:00
parent b3b5a6b2d3
commit 9c7602cbd4
3 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class project extends control
$this->loadModel('product');
/* 获取当前项目的详细信息,相关产品,子项目以及团队成员。*/
$projectID = common::saveProjectState($projectID, array_keys($this->projects));
$projectID = $this->project->saveState($projectID, array_keys($this->projects));
$project = $this->project->getById($projectID);
$products = $this->project->getProducts($project->id);
$childProjects = $this->project->getChildProjects($project->id);