Commit 03447194 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Makes importer work with Trac 0.8.x (#1540).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1597 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 22c9a438
......@@ -98,6 +98,11 @@ namespace :redmine do
nil
end
end
def description
# Attribute is named descr in Trac v0.8.x
has_attribute?(:descr) ? read_attribute(:descr) : read_attribute(:description)
end
end
class TracTicketCustom < ActiveRecord::Base
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment