Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Sep 1, 2021
1 parent a5de6fe commit 5570d67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/models/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ type Notification struct {

type notifyWhoFunc func(l *Log) ([]UserRole, []UserID)

/*
func notifyUser(id UserID) notifyWhoFunc {
return func(l *Log) ([]UserRole, []UserID) {
return nil, []UserID{id}
Expand All @@ -60,6 +61,7 @@ func notifyRoles(roles ...UserRole) notifyWhoFunc {
return roles, nil
}
}
*/

// LogTicketsOpened logs the opening of new tickets and notifies all assignable users if tickets is not already assigned
func LogTicketsOpened(ctx context.Context, db Queryer, oa *OrgAssets, events []*TicketEvent) error {
Expand Down

0 comments on commit 5570d67

Please sign in to comment.