From 73a5b9bc75d40a30e7c9674b292957657ac01f63 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 09:51:15 -0400 Subject: Make user notifications pluggable --- app/Controller/Webnotification.php | 39 -------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 app/Controller/Webnotification.php (limited to 'app/Controller/Webnotification.php') diff --git a/app/Controller/Webnotification.php b/app/Controller/Webnotification.php deleted file mode 100644 index 52e3f266..00000000 --- a/app/Controller/Webnotification.php +++ /dev/null @@ -1,39 +0,0 @@ -userSession->getId(); - - $this->webNotification->markAllAsRead($user_id); - $this->response->redirect($this->helper->url->to('app', 'notifications', array('user_id' => $user_id))); - } - - /** - * Mark a notification as read - * - * @access public - */ - public function remove() - { - $user_id = $this->userSession->getId(); - $notification_id = $this->request->getIntegerParam('notification_id'); - - $this->webNotification->markAsRead($user_id, $notification_id); - $this->response->redirect($this->helper->url->to('app', 'notifications', array('user_id' => $user_id))); - } -} -- cgit v1.2.3