[#4184] Enable the contracts module for projects in the conversion.

This commit is contained in:
Eric Davis committed 2010-07-19 10:06:04 -07:00
1 parent d08d3ccc52
commit f668d55552
2 files changed
+12

No files matched your search

@@ -97,6 +97,9 @@ module RedmineContracts
end
contract.save!
unless project.module_enabled?(:contracts)
EnabledModule.create!(:project => project, :name => 'contracts')
end
contract
end