diff --git a/module/projectstory/control.php b/module/projectstory/control.php index 19dd2c0390..2ddc6ee072 100644 --- a/module/projectstory/control.php +++ b/module/projectstory/control.php @@ -27,38 +27,6 @@ class projectStory extends control if(empty($this->products)) die($this->locate($this->createLink('product', 'showErrorNone', "fromModule=projectstory"))); } - /** - * Obtain user requirements through product. - * - * @param int $productID - * @param string $browseType - * @param int $param - * @param string $storyType - * @param string $orderBy - * @param int $recTotal - * @param int $recPerPage - * @param int $pageID - * @access public - * @return void - */ - public function requirement($productID = 0, $branch = '', $browseType = '', $param = 0, $storyType = 'requirement', $orderBy = '', $recTotal = 0, $recPerPage = 20, $pageID = 1) - { - $this->session->set('storyList', $this->app->getURI(true)); - if(empty($productID)) $productID = key($this->products); - - $this->lang->menugroup->product = 'projectstory'; - $this->lang->projectstory->menu->requirement['subModule'] = 'product'; - $this->projectstory->setMenu($this->products, $productID, $branch); - - $this->loadModel('story')->replaceURLang('requirement'); - $this->lang->story->title = str_replace($this->lang->URCommon, $this->lang->URCommon, $this->lang->story->title); - $this->lang->story->createRequirement = str_replace($this->lang->URCommon, $this->lang->URCommon, $this->lang->story->createRequirement); - $this->lang->story->createStory = str_replace($this->lang->URCommon, $this->lang->URCommon, $this->lang->story->createStory); - $this->lang->story->noStory = str_replace($this->lang->URCommon, $this->lang->URCommon, $this->lang->story->noStory); - - echo $this->fetch('product', 'browse', "productID=$productID&branch=$branch&browseType=$browseType¶m=$param&storyType=$storyType&orderBy=$orderBy&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"); - } - /** * Get software requirements from product. *