]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
Removed updatetimeout method, as it isn't needed any more.
[rails.git] / app / controllers / amf_controller.rb
index 0f61b7a4774e7874443d9998bd18edc518ec01a3..62c9be986ed36ae48ca2e0373ed3dfe315a4cc51 100644 (file)
@@ -510,7 +510,6 @@ class AmfController < ApplicationController
         # We're deleting the relation
         relation.delete_with_history!(new_relation, user)
       end
-      updatetimeout(changeset_id)
     end # transaction
       
     if relid <= 0
@@ -634,7 +633,6 @@ class AmfController < ApplicationController
           # and we don't want to delete it
         end
       end
-      updatetimeout(changeset_id)
 
     end # transaction
 
@@ -697,7 +695,6 @@ class AmfController < ApplicationController
         # We're deleting the node
         node.delete_with_history!(new_node, user)
       end
-      updatetimeout(changeset_id)
 
     end # transaction
 
@@ -779,7 +776,6 @@ class AmfController < ApplicationController
           # elsewhere and we don't want to delete it
         end
       end
-      updatetimeout(changeset_id)
 
     end # transaction
     [0, way_id]
@@ -815,13 +811,6 @@ class AmfController < ApplicationController
     return user
   end
 
-  # save the changeset identified by +changeset_id+. this 
-  # automatically sets the close timeout appropriately.
-  def updatetimeout(changeset_id) 
-    cs = Changeset.find(changeset_id)
-    cs.save!
-  end
-
   # Send AMF response
   
   def sendresponse(results)