X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1ceb4ab9ba10d97333414bf66ae2c9d553668903..ed0a1658dfa03dbb743b329cbd0f0d8e40377278:/app/controllers/amf_controller.rb 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)