summaryrefslogtreecommitdiff
path: root/app/Action
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-07 21:05:23 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-07 21:05:23 -0500
commit7864685cfdb64d2ef6497a445f0d8ed96762e4bf (patch)
treefde3834717d4a435c48dba07885529fdffbe7eb3 /app/Action
parent54b3cfe8a14e99ab2372fc5095facc3a2259f077 (diff)
Move Gitlab webhook to an external plugin
Diffstat (limited to 'app/Action')
-rw-r--r--app/Action/CommentCreation.php7
-rw-r--r--app/Action/TaskClose.php6
-rw-r--r--app/Action/TaskCreation.php6
-rw-r--r--app/Action/TaskOpen.php6
4 files changed, 4 insertions, 21 deletions
diff --git a/app/Action/CommentCreation.php b/app/Action/CommentCreation.php
index e08ef47f..b91e39e2 100644
--- a/app/Action/CommentCreation.php
+++ b/app/Action/CommentCreation.php
@@ -2,8 +2,6 @@
namespace Kanboard\Action;
-use Kanboard\Integration\GitlabWebhook;
-
/**
* Create automatically a comment from a webhook
*
@@ -31,10 +29,7 @@ class CommentCreation extends Base
*/
public function getCompatibleEvents()
{
- return array(
- GitlabWebhook::EVENT_COMMIT,
- GitlabWebhook::EVENT_ISSUE_COMMENT,
- );
+ return array();
}
/**
diff --git a/app/Action/TaskClose.php b/app/Action/TaskClose.php
index 7f8af786..b8c5e175 100644
--- a/app/Action/TaskClose.php
+++ b/app/Action/TaskClose.php
@@ -2,7 +2,6 @@
namespace Kanboard\Action;
-use Kanboard\Integration\GitlabWebhook;
use Kanboard\Model\Task;
/**
@@ -32,10 +31,7 @@ class TaskClose extends Base
*/
public function getCompatibleEvents()
{
- return array(
- GitlabWebhook::EVENT_COMMIT,
- GitlabWebhook::EVENT_ISSUE_CLOSED,
- );
+ return array();
}
/**
diff --git a/app/Action/TaskCreation.php b/app/Action/TaskCreation.php
index 8daa6726..290c31e1 100644
--- a/app/Action/TaskCreation.php
+++ b/app/Action/TaskCreation.php
@@ -2,8 +2,6 @@
namespace Kanboard\Action;
-use Kanboard\Integration\GitlabWebhook;
-
/**
* Create automatically a task from a webhook
*
@@ -31,9 +29,7 @@ class TaskCreation extends Base
*/
public function getCompatibleEvents()
{
- return array(
- GitlabWebhook::EVENT_ISSUE_OPENED,
- );
+ return array();
}
/**
diff --git a/app/Action/TaskOpen.php b/app/Action/TaskOpen.php
index efbcb874..ec0f96f7 100644
--- a/app/Action/TaskOpen.php
+++ b/app/Action/TaskOpen.php
@@ -2,8 +2,6 @@
namespace Kanboard\Action;
-use Kanboard\Integration\GitlabWebhook;
-
/**
* Open automatically a task
*
@@ -31,9 +29,7 @@ class TaskOpen extends Base
*/
public function getCompatibleEvents()
{
- return array(
- GitlabWebhook::EVENT_ISSUE_REOPENED,
- );
+ return array();
}
/**