* Delete unused code.

This commit is contained in:
songchenxuan
2023-07-26 21:01:05 +08:00
parent 6384f3e4f8
commit 01229f8efb
-1
View File
@@ -19,7 +19,6 @@ class qa extends control
*/
public function index($locate = 'auto', $productID = 0, $projectID = 0)
{
$this->loadModel('upgrade')->updatePivotFieldsType();
$products = $this->loadModel('product')->getProductPairsByProject($projectID, 'noclosed');
if(empty($products)) return print($this->locate($this->createLink('product', 'showErrorNone', "moduleName=qa&activeMenu=index")));
if($locate == 'yes') $this->locate($this->createLink('bug', 'browse'));