* Remove the unused function parameter.

This commit is contained in:
wangyuting
2023-05-30 13:16:35 +08:00
parent da4a055aac
commit 9a76bc28ae
2 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -127,7 +127,7 @@ class bug extends control
$executions = $this->loadModel('execution')->getPairs($this->projectID, 'all', 'empty|withdelete|hideMultiple');
$bugs = $this->bugZen->getBrowseBugs($product->id, $branch, $browseType, array_keys($executions), $moduleID, $queryID, $realOrderBy, $pager);
$this->bugZen->buildBrowseView($bugs, $product, $branch, $browseType, $param, $moduleID, $executions, $orderBy, $pager);
$this->bugZen->buildBrowseView($bugs, $product, $branch, $browseType, $moduleID, $executions, $orderBy, $pager);
}
/**
@@ -139,7 +139,7 @@ class bug extends control
* @access public
* @return void
*/
public function view(int $bugID, string $from = 'bug')
public function view(int $bugID)
{
/* Judge bug exits or not. */
$bug = $this->bug->getById($bugID, true);