summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-12-14 08:22:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-12-14 08:22:43 +0000
commit2e2e2cfe425c2664517fb59836fbd3eff5e35861 (patch)
treee3daa66ee8b36d2f1a1468ec9501fba5bc37d71c /lib/redmine.rb
parentc74f6d9f9bcf02ccc480a2028802b83ec5d91aca (diff)
downloadredmine-2e2e2cfe425c2664517fb59836fbd3eff5e35861.tar.gz
redmine-2e2e2cfe425c2664517fb59836fbd3eff5e35861.zip
Merged custom fields format refactoring.
git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 43e3f146a..f7916172b 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -30,7 +30,6 @@ require 'redmine/activity'
require 'redmine/activity/fetcher'
require 'redmine/ciphering'
require 'redmine/codeset_util'
-require 'redmine/custom_field_format'
require 'redmine/i18n'
require 'redmine/menu_manager'
require 'redmine/notifiable'
@@ -73,18 +72,6 @@ Redmine::Scm::Base.add "Bazaar"
Redmine::Scm::Base.add "Git"
Redmine::Scm::Base.add "Filesystem"
-Redmine::CustomFieldFormat.map do |fields|
- fields.register 'string'
- fields.register 'text'
- fields.register 'int', :label => :label_integer
- fields.register 'float'
- fields.register 'list'
- fields.register 'date'
- fields.register 'bool', :label => :label_boolean
- fields.register 'user', :only => %w(Issue TimeEntry Version Project), :edit_as => 'list'
- fields.register 'version', :only => %w(Issue TimeEntry Version Project), :edit_as => 'list'
-end
-
# Permissions
Redmine::AccessControl.map do |map|
map.permission :view_project, {:projects => [:show], :activities => [:index]}, :public => true, :read => true