Fix notifications
This commit is contained in:
@@ -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']);
|
||||
|
Reference in New Issue
Block a user