Skip to content

Commit

Permalink
Check CRM presence
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Dec 23, 2024
1 parent 45d4163 commit 8cc664f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patches/easy_crm_case_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,6 @@ def journalize_dmsf_file(dmsf_file, added_or_removed)

# Apply the patch
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

0 comments on commit 8cc664f

Please sign in to comment.