summaryrefslogtreecommitdiff
path: root/app/Action
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-07 20:16:05 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-07 20:16:05 -0500
commit54b3cfe8a14e99ab2372fc5095facc3a2259f077 (patch)
tree3af8286c3bead5ff0a50895b9298a30dc9742b8e /app/Action
parent1ef6e6c2bf39234993b825d4b974301470c49e83 (diff)
Move bitbucket webhook to an external plugin
Diffstat (limited to 'app/Action')
-rw-r--r--app/Action/CommentCreation.php3
-rw-r--r--app/Action/TaskAssignUser.php6
-rw-r--r--app/Action/TaskClose.php3
-rw-r--r--app/Action/TaskCreation.php2
-rw-r--r--app/Action/TaskOpen.php2
5 files changed, 1 insertions, 15 deletions
diff --git a/app/Action/CommentCreation.php b/app/Action/CommentCreation.php
index d7051d4d..e08ef47f 100644
--- a/app/Action/CommentCreation.php
+++ b/app/Action/CommentCreation.php
@@ -2,7 +2,6 @@
namespace Kanboard\Action;
-use Kanboard\Integration\BitbucketWebhook;
use Kanboard\Integration\GitlabWebhook;
/**
@@ -33,8 +32,6 @@ class CommentCreation extends Base
public function getCompatibleEvents()
{
return array(
- BitbucketWebhook::EVENT_ISSUE_COMMENT,
- BitbucketWebhook::EVENT_COMMIT,
GitlabWebhook::EVENT_COMMIT,
GitlabWebhook::EVENT_ISSUE_COMMENT,
);
diff --git a/app/Action/TaskAssignUser.php b/app/Action/TaskAssignUser.php
index 0b4b55f5..da54d186 100644
--- a/app/Action/TaskAssignUser.php
+++ b/app/Action/TaskAssignUser.php
@@ -2,8 +2,6 @@
namespace Kanboard\Action;
-use Kanboard\Integration\BitbucketWebhook;
-
/**
* Assign a task to someone
*
@@ -31,9 +29,7 @@ class TaskAssignUser extends Base
*/
public function getCompatibleEvents()
{
- return array(
- BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE,
- );
+ return array();
}
/**
diff --git a/app/Action/TaskClose.php b/app/Action/TaskClose.php
index 216d0f17..7f8af786 100644
--- a/app/Action/TaskClose.php
+++ b/app/Action/TaskClose.php
@@ -3,7 +3,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\GitlabWebhook;
-use Kanboard\Integration\BitbucketWebhook;
use Kanboard\Model\Task;
/**
@@ -36,8 +35,6 @@ class TaskClose extends Base
return array(
GitlabWebhook::EVENT_COMMIT,
GitlabWebhook::EVENT_ISSUE_CLOSED,
- BitbucketWebhook::EVENT_COMMIT,
- BitbucketWebhook::EVENT_ISSUE_CLOSED,
);
}
diff --git a/app/Action/TaskCreation.php b/app/Action/TaskCreation.php
index 909ee78c..8daa6726 100644
--- a/app/Action/TaskCreation.php
+++ b/app/Action/TaskCreation.php
@@ -3,7 +3,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\GitlabWebhook;
-use Kanboard\Integration\BitbucketWebhook;
/**
* Create automatically a task from a webhook
@@ -34,7 +33,6 @@ class TaskCreation extends Base
{
return array(
GitlabWebhook::EVENT_ISSUE_OPENED,
- BitbucketWebhook::EVENT_ISSUE_OPENED,
);
}
diff --git a/app/Action/TaskOpen.php b/app/Action/TaskOpen.php
index 5cb626c3..efbcb874 100644
--- a/app/Action/TaskOpen.php
+++ b/app/Action/TaskOpen.php
@@ -3,7 +3,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\GitlabWebhook;
-use Kanboard\Integration\BitbucketWebhook;
/**
* Open automatically a task
@@ -34,7 +33,6 @@ class TaskOpen extends Base
{
return array(
GitlabWebhook::EVENT_ISSUE_REOPENED,
- BitbucketWebhook::EVENT_ISSUE_REOPENED,
);
}