Project

General

Profile

Feature #1653 ยป issue.patch

Hiroyuki Yoshioka, 2008-07-17 17:16

View differences:

issue.rb (working copy)
self.relations_to.clear
end
# issue is moved to another project
self.category = nil
ic = IssueCategory.find(:first, :conditions=>["project_id=? and name=?",
new_project.id, self.category.name]) if self.category
ic ? self.category = ic : self.category = nil
self.fixed_version = nil
self.project = new_project
end
    (1-1/1)