diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-15 13:33:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-15 13:33:09 +0000 |
commit | 4601ed2f3aebc545024287e318494ce32bc5803f (patch) | |
tree | 40f4bda265bbc92f9ddaed1bca6deb7769f2ccae /lib/tasks/migrate_from_trac.rake | |
parent | 13e2c727cfa7b3a9e3e9bd0563cda0a15ee3892d (diff) | |
download | redmine-4601ed2f3aebc545024287e318494ce32bc5803f.tar.gz redmine-4601ed2f3aebc545024287e318494ce32bc5803f.zip |
Replaces Enumeration.get_values and Enumeration.default with named scopes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/migrate_from_trac.rake')
-rw-r--r-- | lib/tasks/migrate_from_trac.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/migrate_from_trac.rake b/lib/tasks/migrate_from_trac.rake index 02d921300..9b245cd16 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.get_values('IPRI') + priorities = Enumeration.priorities DEFAULT_PRIORITY = priorities[0] PRIORITY_MAPPING = {'lowest' => priorities[0], 'low' => priorities[0], |