Added logger if ticket got deleted via trigger.
This commit is contained in:
parent
a6fea45bcf
commit
699804f945
1 changed files with 1 additions and 0 deletions
|
@ -858,6 +858,7 @@ perform changes on ticket
|
||||||
if key == 'ticket.action'
|
if key == 'ticket.action'
|
||||||
next if value['value'].blank?
|
next if value['value'].blank?
|
||||||
next if value['value'] != 'delete'
|
next if value['value'] != 'delete'
|
||||||
|
logger.debug { "Deleted ticket from #{perform_origin} #{perform.inspect} Ticket.find(#{id})" }
|
||||||
destroy!
|
destroy!
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue