Removed updatetimeout method, as it isn't needed any more.

This commit is contained in:
Matt Amos 2009-05-12 14:38:22 +00:00
parent 1ceb4ab9ba
commit ed0a1658df

View file

@ -510,7 +510,6 @@ class AmfController < ApplicationController
# We're deleting the relation # We're deleting the relation
relation.delete_with_history!(new_relation, user) relation.delete_with_history!(new_relation, user)
end end
updatetimeout(changeset_id)
end # transaction end # transaction
if relid <= 0 if relid <= 0
@ -634,7 +633,6 @@ class AmfController < ApplicationController
# and we don't want to delete it # and we don't want to delete it
end end
end end
updatetimeout(changeset_id)
end # transaction end # transaction
@ -697,7 +695,6 @@ class AmfController < ApplicationController
# We're deleting the node # We're deleting the node
node.delete_with_history!(new_node, user) node.delete_with_history!(new_node, user)
end end
updatetimeout(changeset_id)
end # transaction end # transaction
@ -779,7 +776,6 @@ class AmfController < ApplicationController
# elsewhere and we don't want to delete it # elsewhere and we don't want to delete it
end end
end end
updatetimeout(changeset_id)
end # transaction end # transaction
[0, way_id] [0, way_id]
@ -815,13 +811,6 @@ class AmfController < ApplicationController
return user return user
end 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 # Send AMF response
def sendresponse(results) def sendresponse(results)