From d6c1c1ea33de6386fabe7c9546bfae1c38d3b9e7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 17:36:55 -0400 Subject: Improve notification classes and move interface to core --- app/Notification/ActivityStreamNotification.php | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 app/Notification/ActivityStreamNotification.php (limited to 'app/Notification/ActivityStreamNotification.php') diff --git a/app/Notification/ActivityStreamNotification.php b/app/Notification/ActivityStreamNotification.php new file mode 100644 index 00000000..8ac265d3 --- /dev/null +++ b/app/Notification/ActivityStreamNotification.php @@ -0,0 +1,48 @@ +userSession->isLogged()) { + $this->projectActivity->createEvent( + $project['id'], + $event_data['task']['id'], + $this->userSession->getId(), + $event_name, + $event_data + ); + } + } +} -- cgit v1.2.3