summaryrefslogtreecommitdiff
path: root/app/Controller/Webhook.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Webhook.php')
-rw-r--r--app/Controller/Webhook.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/Controller/Webhook.php b/app/Controller/Webhook.php
index be8bf030..0eafe3e5 100644
--- a/app/Controller/Webhook.php
+++ b/app/Controller/Webhook.php
@@ -39,19 +39,4 @@ class Webhook extends Base
$this->response->text('FAILED');
}
-
- /**
- * Handle Gitlab webhooks
- *
- * @access public
- */
- public function gitlab()
- {
- $this->checkWebhookToken();
-
- $this->gitlabWebhook->setProjectId($this->request->getIntegerParam('project_id'));
- $result = $this->gitlabWebhook->parsePayload($this->request->getJson());
-
- echo $result ? 'PARSED' : 'IGNORED';
- }
}