#1110 Conflict with other plugins

This commit is contained in:
karel.picman@lbcfree.net 2020-05-03 08:00:38 +02:00
parent 50a84f49a6
commit 77e53b7f5c

View File

@ -160,5 +160,9 @@ module RedmineDmsf
end
end
RedmineExtensions::PatchManager.register_helper_patch 'QueriesHelper',
'RedmineDmsf::Patches::QueriesHelperPatch', prepend: true
if Redmine::Plugin.installed?(:easy_extensions)
RedmineExtensions::PatchManager.register_helper_patch 'QueriesHelper',
'RedmineDmsf::Patches::QueriesHelperPatch', prepend: true
else
DmsfController.send :helper, RedmineDmsf::Patches::QueriesHelperPatch
end