diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-18 18:35:20 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-18 18:35:20 -0400 |
commit | 7d7692d273fcdea3d100d7f3a076ddf08c8a19d1 (patch) | |
tree | 306e172153f42e595e016d17e5a23b58ff4d764d /app/Model | |
parent | 1bce73724337950bb63cdcbbdd7161fda06e4f57 (diff) |
Fix cosmetic issues
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/Notification.php | 4 |
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; } |