diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-06 21:46:31 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-06 21:46:31 -0500 |
commit | 00e5a4c5b40610ec849567d30f88e3ab8d0720fb (patch) | |
tree | 49138feec30136c9ff432b7d61659e976a27211d /app/Controller/Webhook.php | |
parent | a03e4d4dcb4ebce06671465c9a7bd7e51ba2ef79 (diff) |
Move Github Webhook to external plugin
See: https://github.com/kanboard/plugin-github-webhook
Diffstat (limited to 'app/Controller/Webhook.php')
-rw-r--r-- | app/Controller/Webhook.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app/Controller/Webhook.php b/app/Controller/Webhook.php index a7e9bde4..82e9d635 100644 --- a/app/Controller/Webhook.php +++ b/app/Controller/Webhook.php @@ -41,25 +41,6 @@ class Webhook extends Base } /** - * Handle Github webhooks - * - * @access public - */ - public function github() - { - $this->checkWebhookToken(); - - $this->githubWebhook->setProjectId($this->request->getIntegerParam('project_id')); - - $result = $this->githubWebhook->parsePayload( - $this->request->getHeader('X-Github-Event'), - $this->request->getJson() - ); - - echo $result ? 'PARSED' : 'IGNORED'; - } - - /** * Handle Gitlab webhooks * * @access public |