Skip to content

Commit

Permalink
Merge pull request #1538 from RomanIOPSYS/1537-exempt-products-from-n…
Browse files Browse the repository at this point in the history
…otifiable

Add redmine_products to obsolete plugin list
  • Loading branch information
picman authored Jul 19, 2024
2 parents d791279 + 72358a8 commit 18301d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/redmine_dmsf/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ def self.present?(id)

# Return true if a plugin that overrides Redmine::Notifiable and use the deprecated method alias_method_chain is
# present.
# It is related especially to plugins made by AplhaNode and RedmineUP.
# It is related especially to plugins made by AlphaNode and RedmineUP.
def self.an_obsolete_plugin_present?
plugins = %w[easyproject/easy_plugins/easy_money redmine_questions redmine_db redmine_passwords redmine_resources]
plugins = %w[easyproject/easy_plugins/easy_money redmine_questions redmine_db redmine_passwords redmine_resources
redmine_products]
plugins.each do |plugin|
return true if Plugin.present?(plugin)
end
Expand Down

0 comments on commit 18301d2

Please sign in to comment.