diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-17 22:19:49 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-17 22:19:49 -0400 |
commit | 09da289c2fb18475f372bee24e885617da484e0b (patch) | |
tree | 95d1869ba3236ccdd9234d7909fc16c495c84d44 /app/Notification | |
parent | 9283fb88d80cb355ff98364a9a57b657fc511d98 (diff) |
Move slack, hipchat and jabber integrations to plugins
Diffstat (limited to 'app/Notification')
-rw-r--r-- | app/Notification/ActivityStream.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/Notification/ActivityStream.php b/app/Notification/ActivityStream.php index 65ae64b1..325732ec 100644 --- a/app/Notification/ActivityStream.php +++ b/app/Notification/ActivityStream.php @@ -35,7 +35,6 @@ class ActivityStream extends Base implements NotificationInterface public function notifyProject(array $project, $event_name, array $event_data) { if ($this->userSession->isLogged()) { - $this->projectActivity->createEvent( $project['id'], $event_data['task']['id'], @@ -43,16 +42,6 @@ class ActivityStream extends Base implements NotificationInterface $event_name, $event_data ); - - // TODO: need to be moved to external plugins - foreach (array('slackWebhook', 'hipchatWebhook', 'jabber') as $model) { - $this->$model->notify( - $project['id'], - $event_data['task']['id'], - $event_name, - $event_data - ); - } } } } |