Fix line length

pull/3374/head
Alexander Bach 9 years ago
parent 564273cded
commit 7c084f1dd8
  1. 4
      app/models/watcher_notification_mailer.rb

@ -39,8 +39,8 @@ class WatcherNotificationMailer
private
# HACK: TODO this needs generalization as well as performance improvements
# We need to make sure no work package created or updated job is queued to avoid sending two mails
# in short succession.
# We need to make sure no work package created or updated job is queued to avoid sending two
# mails in short succession.
def other_jobs_queued?(work_package)
Delayed::Job.where('handler LIKE ?', "%journal_id: #{work_package.journals.last.id}%").exists?
end

Loading…
Cancel
Save