summaryrefslogtreecommitdiffstats
path: root/lib/tasks/migrate_from_mantis.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_mantis.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_mantis.rake')
-rw-r--r--lib/tasks/migrate_from_mantis.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/migrate_from_mantis.rake b/lib/tasks/migrate_from_mantis.rake
index a7582a38a..95722b12b 100644
--- a/lib/tasks/migrate_from_mantis.rake
+++ b/lib/tasks/migrate_from_mantis.rake
@@ -40,7 +40,7 @@ task :migrate_from_mantis => :environment do
90 => closed_status # closed
}
- priorities = Enumeration.priorities
+ priorities = IssuePriority.all
DEFAULT_PRIORITY = priorities[2]
PRIORITY_MAPPING = {10 => priorities[1], # none
20 => priorities[1], # low