From e48bdc196851a7181b9d2c1f116f034a757408fe Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 22 May 2015 08:58:32 +0200 Subject: [PATCH] We do not have an destructor at this point, so we need to execute ticket events manually. --- app/models/ticket.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/ticket.rb b/app/models/ticket.rb index 1929107ed..43dc84989 100644 --- a/app/models/ticket.rb +++ b/app/models/ticket.rb @@ -152,6 +152,10 @@ returns result.push ticket } + # we do not have an destructor at this point, so we need to + # execute ticket events manually + Observer::Ticket::Notification.transaction + result end