Check CRM presence
This commit is contained in:
parent
45d41632ae
commit
8cc664f0f7
@ -159,5 +159,6 @@ end
|
|||||||
|
|
||||||
# Apply the patch
|
# Apply the patch
|
||||||
if Redmine::Plugin.installed?('easy_crm')
|
if Redmine::Plugin.installed?('easy_crm')
|
||||||
EasyPatchManager.register_model_patch 'EasyCrmCase', 'RedmineDmsf::Patches::EasyCrmCasePatch'
|
EasyPatchManager.register_model_patch 'EasyCrmCase', 'RedmineDmsf::Patches::EasyCrmCasePatch',
|
||||||
|
if: -> { EasyPluginLoader.plugin_active? 'easy_crm_2_0' }
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user