Small enhancements.
This commit is contained in:
parent
464673594c
commit
34f9ec6a66
2 changed files with 18 additions and 18 deletions
|
@ -44,7 +44,8 @@ class Observer::Ticket::Notification::BackgroundJob
|
|||
notification_subject = ''
|
||||
recipients.each do |user|
|
||||
|
||||
next if ticket.updated_by_id == ticket.owner_id
|
||||
next if ticket.updated_by_id == user.id
|
||||
next if !user.active
|
||||
|
||||
# create desktop notification
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ returns
|
|||
=end
|
||||
|
||||
def history_log (type, user_id, data = {})
|
||||
|
||||
data[:o_id] = self['id']
|
||||
data[:history_type] = type
|
||||
data[:history_object] = self.class.name
|
||||
|
|
Loading…
Reference in a new issue