Archived
1
0

Fix notifications

This commit is contained in:
Marcel
2018-10-17 16:27:56 +02:00
parent 334aa22362
commit 6b9d8042fe
6 changed files with 27 additions and 16 deletions

View File

@@ -62,7 +62,6 @@
}
return $result;
// Mark as read
}
private function add(Notification $notification) {
@@ -115,6 +114,9 @@
case 'admin.feedback':
$items[] = new \Notification\Admin\NewFeedbackNotification($item);
break;
case 'admin.reportedPost':
$items[] = new \Notification\Users\PostReportNotification($item);
break;
}
}
$groups[] = new NotificationGroup($items, $group['count']);