summaryrefslogtreecommitdiffstats
path: root/models/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/notification.go')
-rw-r--r--models/notification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/notification.go b/models/notification.go
index daf13faf87..0cee8616ca 100644
--- a/models/notification.go
+++ b/models/notification.go
@@ -611,7 +611,7 @@ func (nl NotificationList) LoadIssues() ([]int, error) {
// Without returns the notification list without the failures
func (nl NotificationList) Without(failures []int) NotificationList {
- if failures == nil || len(failures) == 0 {
+ if len(failures) == 0 {
return nl
}
remaining := make([]*Notification, 0, len(nl))