Remove unused parameter
[rails.git] / app / models / relation.rb
index 028d6024cc4ab95ac89d402b6624b55d0de350e3..abe014311e61b07d29a4b12865a9f2c70f1d09f5 100644 (file)
@@ -105,7 +105,7 @@ class Relation < ActiveRecord::Base
     return doc
   end
 
-  def to_xml_node(visible_members = nil, changeset_cache = {}, user_display_name_cache = {})
+  def to_xml_node(changeset_cache = {}, user_display_name_cache = {})
     el1 = XML::Node.new 'relation'
     el1['id'] = self.id.to_s
     el1['visible'] = self.visible.to_s