Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

rename method

ulferts19f7059f4362
diff --git a/app/services/notifications/journal_notification_service.rb b/app/services/notifications/journal_notification_service.rb
index bfc82727226..7ef3a72a008 100644
--- a/app/services/notifications/journal_notification_service.rb
+++ b/app/services/notifications/journal_notification_service.rb
@@ -31,12 +31,12 @@
class Notifications::JournalNotificationService
class << self
def call(journal, send_mails)
- enqueue_work_package_notification(journal, send_mails) if supported?(journal)
+ enqueue_notification(journal, send_mails) if supported?(journal)
end
private
- def enqueue_work_package_notification(journal, send_mails)
+ def enqueue_notification(journal, send_mails)
NotifyJournalCompletedJob
.set(wait_until: delivery_time)
.perform_later(journal.id, send_mails)