Merge branch 'develop' of github.com:martini/zammad into develop

This commit is contained in:
Martin Edenhofer 2015-10-08 11:38:59 +02:00
commit 02548e8051
2 changed files with 2 additions and 2 deletions

View file

@ -28,6 +28,6 @@ class Observer::Ticket::Article::EmailSignatureDetection < ActiveRecord::Observe
record.preferences[:signature_detection] = SignatureDetection.find_signature_line(user.preferences[:signature_detection], record.body) record.preferences[:signature_detection] = SignatureDetection.find_signature_line(user.preferences[:signature_detection], record.body)
# add queue job to update current signature of user id # add queue job to update current signature of user id
Delayed::Job.enqueue( Observer::Ticket::Article::EmailSignatureDetection::BackgroundJob.new( record.created_by_id ) ) Delayed::Job.enqueue( Observer::Ticket::Article::SignatureDetection::BackgroundJob.new( record.created_by_id ) )
end end
end end

View file

@ -1,4 +1,4 @@
class Observer::Ticket::Article::EmailSignatureDetection::BackgroundJob class Observer::Ticket::Article::SignatureDetection::BackgroundJob
def initialize(id) def initialize(id)
@user_id = id @user_id = id
end end