summaryrefslogtreecommitdiff
path: root/app/Model/Notification.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-18 18:35:20 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-18 18:35:20 -0400
commit7d7692d273fcdea3d100d7f3a076ddf08c8a19d1 (patch)
tree306e172153f42e595e016d17e5a23b58ff4d764d /app/Model/Notification.php
parent1bce73724337950bb63cdcbbdd7161fda06e4f57 (diff)
Fix cosmetic issues
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;
}