- Remove unneeded function.

This commit is contained in:
dingguodong
2021-07-02 17:32:24 +08:00
parent ae5f25d110
commit 82f854f3f1
2 changed files with 1 additions and 18 deletions
-17
View File
@@ -182,23 +182,6 @@ class gitlabModel extends model
->fetchGroup('AID');
}
/**
* Get gitlab projects of one Product.
*
* @param int $productID
* @access public
* @return array
*/
public function getProjectsByProduct($productID)
{
return $this->dao->select('AID, BID as gitlabProject')->from(TABLE_RELATION)
->where('relation')->eq('interrated')
->andWhere('AType')->eq('gitlab')
->andWhere('BType')->eq('gitlabProject')
->andWhere('product')->eq($productID)
->fetchGroup('AID');
}
/**
* Get executions by one product for gitlab module.
*