app/jobs/stream_notifications_job.rb in hyrax-3.0.0.pre.rc1 vs app/jobs/stream_notifications_job.rb in hyrax-3.0.0.pre.rc2
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
class StreamNotificationsJob < Hyrax::ApplicationJob
def perform(users)
# Do not use the ActionCable machinery if the feature is disabled
return unless Hyrax.config.realtime_notifications?
Array.wrap(users).each do |user|