* [misc] Delete unused code.

This commit is contained in:
xieqiyu
2024-08-16 16:19:56 +08:00
committed by 唐胡成
parent 3baa5def97
commit 8d08433057
-1
View File
@@ -111,7 +111,6 @@ $fnBuildCreateStoryButton = function() use ($lang, $product, $isProjectStory, $s
{
if(common::hasPriv('requirement', 'create')) $items[] = array('text' => $lang->requirement->create, 'url' => createLink('requirement', 'create', "product=$productID&branch=$branch&moduleID=$moduleID&requirementID=0&projectID=$projectID") . '#app=project');
if(common::hasPriv('requirement', 'batchCreate')) $batchItems[] = array('text' => $lang->URCommon, 'url' => createLink('requirement', 'batchCreate', "productID=$productID&branch=$branch&moduleID=$moduleID&requirementID=0&project=$projectID") . '#app=project');
$batchCreateLink = createLink($storyType, 'batchCreate', "productID=$productID&branch=$branch&moduleID=$moduleID&storyID=0&project=$projectID&plan=0&storyType=$storyType"). ($isProjectStory ? '#app=project' : '');
}
if(str_contains($project->storyType, 'epic') && $this->config->enableER)