* Adjust server delete function name.

This commit is contained in:
caoyanyi
2023-11-27 09:29:07 +08:00
parent 2d2954bb38
commit 3f1903b3dc
8 changed files with 50 additions and 44 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ class gitlab extends control
public function delete($id)
{
$oldGitLab = $this->loadModel('pipeline')->getByID($id);
$actionID = $this->pipeline->delete($id, 'gitlab');
$actionID = $this->pipeline->deleteByObject($id, 'gitlab');
if(!$actionID)
{
$response['result'] = 'fail';