##// END OF EJS Templates
Code cleanup, removed raw SQL....
Jean-Philippe Lang -
r13140:abff0531de82
parent child
Show More
@@ -29,7 +29,7 class DocumentCategory < Enumeration
29 29 end
30 30
31 31 def transfer_relations(to)
32 documents.update_all("category_id = #{to.id}")
32 documents.update_all(:category_id => to.id)
33 33 end
34 34
35 35 def self.default
@@ -32,7 +32,7 class IssuePriority < Enumeration
32 32 end
33 33
34 34 def transfer_relations(to)
35 issues.update_all("priority_id = #{to.id}")
35 issues.update_all(:priority_id => to.id)
36 36 end
37 37
38 38 def css_classes
General Comments 0
You need to be logged in to leave comments. Login now