From: Matt Amos Date: Tue, 12 May 2009 14:38:22 +0000 (+0000) Subject: Removed updatetimeout method, as it isn't needed any more. X-Git-Tag: live~7454 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ed0a1658dfa03dbb743b329cbd0f0d8e40377278?ds=sidebyside Removed updatetimeout method, as it isn't needed any more. --- diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index 0f61b7a47..62c9be986 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -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)