- Remove old pushObject function.

This commit is contained in:
dingguodong
2021-06-29 09:31:29 +08:00
parent 2e9351bad6
commit db68646908
-14
View File
@@ -911,20 +911,6 @@ class gitlabModel extends model
commonModel::http($url, $options = array(CURLOPT_CUSTOMREQUEST => 'DELETE'));
}
public function pushTask($gitlabID, $projectID, $task)
{
$task->label = $this->config->gitlab->taskLabel->name;
$response = $this->apiCreateIssue($gitlabID, $projectID, $task);
return $response;
}
public function pushBug($gitlabID, $projectID, $bug)
{
$bug->label = $this->config->gitlab->bugLabel->name;
$response = $this->apiCreateIssue($gitlabID, $projectID, $bug);
return $response;
}
/**
* webhook check token.
*