UNC-Libraries/hy-c

View on GitHub
app/overrides/services/hyrax/workflow/pending_review_notification_override.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
# https://github.com/samvera/hyrax/blame/hyrax-v3.5.0/app/services/hyrax/workflow/pending_review_notification.rb
Hyrax::Workflow::PendingReviewNotification.class_eval do
  private
    # [hyc-override] Don't add the instigating user into list of users to notify
  def users_to_notify
    super
  end
end