Added logger if ticket got deleted via trigger.

This commit is contained in:
Martin Edenhofer 2018-07-26 09:02:34 +02:00
parent a6fea45bcf
commit 699804f945

View file

@ -858,6 +858,7 @@ perform changes on ticket
if key == 'ticket.action'
next if value['value'].blank?
next if value['value'] != 'delete'
logger.debug { "Deleted ticket from #{perform_origin} #{perform.inspect} Ticket.find(#{id})" }
destroy!
next
end