]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
Optimise lookup of traces with a given tag.
[rails.git] / app / controllers / amf_controller.rb
index ef2e1c78af30bef54081de56d7dda0ff1f20e3bc..935746ed4fa3aa3298cb2603d6b0ce9c6756756d 100644 (file)
@@ -487,6 +487,7 @@ class AmfController < ApplicationController
        way.unshared_node_ids.each do |n|
          deleteitemrelations(n, 'node')
        end
+       deleteitemrelations(way_id, 'way')
 
        way.delete_with_relations_and_nodes_and_history(user)