]> git.openstreetmap.org Git - rails.git/commitdiff
Remove non functioning changeset_cache, user_display_name_cache
authormmd-osm <mmd.osm@gmail.com>
Thu, 27 Jun 2019 19:26:11 +0000 (21:26 +0200)
committermmd-osm <mmd.osm@gmail.com>
Thu, 27 Jun 2019 19:26:11 +0000 (21:26 +0200)
app/controllers/api/map_controller.rb
app/controllers/api/relations_controller.rb
app/controllers/api/ways_controller.rb

index ba3ca7cc3e71b1f5ae93a04f48b16168df18cb41..d151d3d393c05070206a4ff0e7bdfbceee48db89 100644 (file)
@@ -60,8 +60,6 @@ module Api
       nodes += Node.includes(:node_tags).find(nodes_to_fetch) unless nodes_to_fetch.empty?
 
       visible_nodes = {}
       nodes += Node.includes(:node_tags).find(nodes_to_fetch) unless nodes_to_fetch.empty?
 
       visible_nodes = {}
-      # changeset_cache = {}
-      # user_display_name_cache = {}
       @nodes = []
       nodes.each do |node|
         if node.visible?
       @nodes = []
       nodes.each do |node|
         if node.visible?
index 40d919ddc698b43ac75c3a97b513805306f28376..41f4e325afa8c21db018946b257775b312755d12 100644 (file)
@@ -94,8 +94,6 @@ module Api
         nodes = Node.where(:id => node_ids.uniq).includes(:node_tags)
 
         visible_nodes = {}
         nodes = Node.where(:id => node_ids.uniq).includes(:node_tags)
 
         visible_nodes = {}
-        # changeset_cache = {}
-        # user_display_name_cache = {}
 
         @nodes = []
         nodes.each do |node|
 
         @nodes = []
         nodes.each do |node|
index 04c823ad2a40e2b5db5835509688baf3c2da8b79..102be29bd093bd49c6b383f4c89123c3eda829ff 100644 (file)
@@ -68,8 +68,6 @@ module Api
 
       if way.visible
         visible_nodes = {}
 
       if way.visible
         visible_nodes = {}
-        # changeset_cache = {}
-        # user_display_name_cache = {}
 
         @nodes = []
 
 
         @nodes = []