diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-17 12:53:11 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-17 12:53:11 -0400 |
commit | 9153c6ff0ddb3170928d33599d9178e67ca466b6 (patch) | |
tree | 450891d77f14baf1df068d23609ff326345ef41f /app/ServiceProvider/ClassProvider.php | |
parent | 472f94efee77d8f47ece4ead7d36ee02e5df3e56 (diff) |
Move ProjectActivitySubscriber to a new notification type
Diffstat (limited to 'app/ServiceProvider/ClassProvider.php')
-rw-r--r-- | app/ServiceProvider/ClassProvider.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/ServiceProvider/ClassProvider.php b/app/ServiceProvider/ClassProvider.php index 182ecf26..b969c289 100644 --- a/app/ServiceProvider/ClassProvider.php +++ b/app/ServiceProvider/ClassProvider.php @@ -138,7 +138,8 @@ class ClassProvider implements ServiceProviderInterface $container['projectNotificationType'] = function ($container) { $type = new ProjectNotificationType($container); - $type->setType('webhook', t('Webhook'), '\Kanboard\Notification\Webhook', true); + $type->setType('webhook', 'Webhook', '\Kanboard\Notification\Webhook', true); + $type->setType('activity_stream', 'ActivityStream', '\Kanboard\Notification\ActivityStream', true); return $type; }; |