summaryrefslogtreecommitdiffstats
path: root/lib/tasks/migrate_from_trac.rake
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-25 17:13:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-25 17:13:58 +0000
commit8db9ecef08ee8afe600bdb2d95ead0162b8b43d4 (patch)
treeecf477a4dd955203267a82331cfca67b090b781a /lib/tasks/migrate_from_trac.rake
parent9fb40b1a2f700ce6e5bd31438fe9c9ef737555ab (diff)
downloadredmine-8db9ecef08ee8afe600bdb2d95ead0162b8b43d4.tar.gz
redmine-8db9ecef08ee8afe600bdb2d95ead0162b8b43d4.zip
Removes column opt in enumerations table.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3240 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/migrate_from_trac.rake')
-rw-r--r--lib/tasks/migrate_from_trac.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/migrate_from_trac.rake b/lib/tasks/migrate_from_trac.rake
index 1902af8d0..e267a340f 100644
--- a/lib/tasks/migrate_from_trac.rake
+++ b/lib/tasks/migrate_from_trac.rake
@@ -37,7 +37,7 @@ namespace :redmine do
'closed' => closed_status
}
- priorities = Enumeration.priorities
+ priorities = IssuePriority.all
DEFAULT_PRIORITY = priorities[0]
PRIORITY_MAPPING = {'lowest' => priorities[0],
'low' => priorities[0],