summaryrefslogtreecommitdiff
path: root/app/Model/Notification.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/Notification.php')
-rw-r--r--app/Model/Notification.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Model/Notification.php b/app/Model/Notification.php
index 6a50f7ba..9628e344 100644
--- a/app/Model/Notification.php
+++ b/app/Model/Notification.php
@@ -37,7 +37,6 @@ class Notification extends Base
public function sendOverdueTaskNotifications()
{
$tasks = $this->taskFinder->getOverdueTasks();
- $projects = array();
foreach ($this->groupByColumn($tasks, 'project_id') as $project_id => $project_tasks) {
@@ -157,10 +156,9 @@ class Notification extends Base
*
* @access public
* @param array $user
- * @param array $event_data
* @return boolean
*/
- public function filterNone(array $user, array $event_data)
+ public function filterNone(array $user)
{
return $user['notifications_filter'] == self::FILTER_NONE;
}