Add call_hook for rabbitmq plugin. Helpdesk emails fix.
This commit is contained in:
parent
2ff27d40e9
commit
755ff96af9
@ -146,6 +146,7 @@ class HelpdeskController < HelpdeskBaseController
|
||||
@issue.save_attachments(params[:attachments] || (params[:ticket][:issue] && params[:ticket][:issue][:uploads]))
|
||||
|
||||
if @issue.save
|
||||
call_hook(:controller_emailticket_new_after_save, {:params => params, :issue => @issue})
|
||||
process_helpdesk_send_as(process_helpdesk_send_as(params[:ticket][:send_as]))
|
||||
HelpdeskMailer.auto_answer(@contact, @issue) if HelpdeskSettings['helpdesk_send_notification', @project].to_i > 0
|
||||
HelpdeskTicket.autoclose(@project)
|
||||
|
Loading…
x
Reference in New Issue
Block a user