summaryrefslogtreecommitdiff
path: root/app/Notification/ActivityStream.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Notification/ActivityStream.php')
-rw-r--r--app/Notification/ActivityStream.php11
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
- );
- }
}
}
}