Merge pull request #1538 from RomanIOPSYS/1537-exempt-products-from-notifiable
Add redmine_products to obsolete plugin list
This commit is contained in:
commit
18301d2148
@ -29,9 +29,10 @@ module RedmineDmsf
|
||||
|
||||
# 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user