From 3bcec7a25d1d059defba6f07749e59b87003cac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Wed, 22 Mar 2023 15:15:15 +0100 Subject: [PATCH] Error when opening Setting page #1439 --- lib/redmine_dmsf/plugin.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/redmine_dmsf/plugin.rb b/lib/redmine_dmsf/plugin.rb index 1425e856..077d1421 100644 --- a/lib/redmine_dmsf/plugin.rb +++ b/lib/redmine_dmsf/plugin.rb @@ -33,9 +33,10 @@ module RedmineDmsf # present. # It is related especially to plugins made by AplhaNode and RedmineUP. def self.an_osolete_plugin_present? - plugins = %w(questions contacts checklists db passwords resources) + plugins = %w(easyproject/easy_plugins/easy_money redmine_questions redmine_contacts redmine_db + redmine_passwords redmine_resources) plugins.each do|plugin| - if Plugin.present?("redmine_#{plugin}") + if Plugin.present?(plugin) return true end end