summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-08 21:13:59 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-08 21:13:59 -0500
commit6f94ce6af3072543ee62d64016931ed424f800a7 (patch)
tree348d250d786dba40c14828cef3fb347116a0fa1a /app/Model
parent02f7c8d33d60b41f5c2a5335f9f6ee56f236a7fe (diff)
Add Bitbucket webhook
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/Action.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/Action.php b/app/Model/Action.php
index 6aef81a3..6fb2a2f1 100644
--- a/app/Model/Action.php
+++ b/app/Model/Action.php
@@ -4,6 +4,7 @@ namespace Model;
use Integration\GitlabWebhook;
use Integration\GithubWebhook;
+use Integration\BitbucketWebhook;
use SimpleValidator\Validator;
use SimpleValidator\Validators;
@@ -85,6 +86,7 @@ class Action extends Base
GitlabWebhook::EVENT_COMMIT => t('Gitlab commit received'),
GitlabWebhook::EVENT_ISSUE_OPENED => t('Gitlab issue opened'),
GitlabWebhook::EVENT_ISSUE_CLOSED => t('Gitlab issue closed'),
+ BitbucketWebhook::EVENT_COMMIT => t('Bitbucket commit received'),
);
asort($values);