summaryrefslogtreecommitdiff
path: root/app/Core
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/Core
parent54b3cfe8a14e99ab2372fc5095facc3a2259f077 (diff)
Move Gitlab webhook to an external plugin
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/Base.php1
-rw-r--r--app/Core/Event/EventManager.php6
2 files changed, 0 insertions, 7 deletions
diff --git a/app/Core/Base.php b/app/Core/Base.php
index bbc51c50..1eef3cf7 100644
--- a/app/Core/Base.php
+++ b/app/Core/Base.php
@@ -45,7 +45,6 @@ use Pimple\Container;
* @property \Kanboard\Core\Lexer $lexer
* @property \Kanboard\Core\Paginator $paginator
* @property \Kanboard\Core\Template $template
- * @property \Kanboard\Integration\GitlabWebhook $gitlabWebhook
* @property \Kanboard\Formatter\ProjectGanttFormatter $projectGanttFormatter
* @property \Kanboard\Formatter\TaskFilterGanttFormatter $taskFilterGanttFormatter
* @property \Kanboard\Formatter\TaskFilterAutoCompleteFormatter $taskFilterAutoCompleteFormatter
diff --git a/app/Core/Event/EventManager.php b/app/Core/Event/EventManager.php
index 34a70900..8d76bfcb 100644
--- a/app/Core/Event/EventManager.php
+++ b/app/Core/Event/EventManager.php
@@ -2,7 +2,6 @@
namespace Kanboard\Core\Event;
-use Kanboard\Integration\GitlabWebhook;
use Kanboard\Model\Task;
use Kanboard\Model\TaskLink;
@@ -53,11 +52,6 @@ class EventManager
Task::EVENT_CLOSE => t('Closing a task'),
Task::EVENT_CREATE_UPDATE => t('Task creation or modification'),
Task::EVENT_ASSIGNEE_CHANGE => t('Task assignee change'),
- GitlabWebhook::EVENT_COMMIT => t('Gitlab commit received'),
- GitlabWebhook::EVENT_ISSUE_OPENED => t('Gitlab issue opened'),
- GitlabWebhook::EVENT_ISSUE_REOPENED => t('Gitlab issue reopened'),
- GitlabWebhook::EVENT_ISSUE_CLOSED => t('Gitlab issue closed'),
- GitlabWebhook::EVENT_ISSUE_COMMENT => t('Gitlab issue comment created'),
);
$events = array_merge($events, $this->events);