Make user notifications pluggable

This commit is contained in:
Frederic Guillot
2015-10-17 09:51:15 -04:00
parent 98b203fe69
commit 73a5b9bc75
25 changed files with 407 additions and 258 deletions

View File

@@ -32,7 +32,7 @@ class NotificationSubscriber extends \Kanboard\Core\Base implements EventSubscri
public function execute(GenericEvent $event, $event_name)
{
$this->notification->sendNotifications($event_name, $this->getEventData($event));
$this->userNotification->sendNotifications($event_name, $this->getEventData($event));
}
public function getEventData(GenericEvent $event)