* Refactor getStoryTaskCounts method of task module.

This commit is contained in:
tianshujie
2023-06-01 09:26:42 +08:00
parent b6400ba020
commit 36e1916836
4 changed files with 43 additions and 36 deletions
-21
View File
@@ -606,27 +606,6 @@ class taskTest
}
}
/**
* Test get counts of some stories' tasks.
*
* @param array $storyIDList
* @access public
* @return int
*/
public function getStoryTaskCountsTest($storyIDList)
{
$object = $this->objectModel->getStoryTaskCounts($storyIDList);
if(dao::isError())
{
$error = dao::getError();
return $error;
}
else
{
return $object;
}
}
/**
* Test get task efforts.
*