From: mmd-osm Date: Thu, 27 Jun 2019 19:26:11 +0000 (+0200) Subject: Remove non functioning changeset_cache, user_display_name_cache X-Git-Tag: live~3042^2~5 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b9ae40d9784725b75e5b52f55659c80326656d8f?hp=cf3cf5216fa3697ad2e3c060fced6a7bbb16f4a4 Remove non functioning changeset_cache, user_display_name_cache --- diff --git a/app/controllers/api/map_controller.rb b/app/controllers/api/map_controller.rb index ba3ca7cc3..d151d3d39 100644 --- a/app/controllers/api/map_controller.rb +++ b/app/controllers/api/map_controller.rb @@ -60,8 +60,6 @@ module Api 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? diff --git a/app/controllers/api/relations_controller.rb b/app/controllers/api/relations_controller.rb index 40d919ddc..41f4e325a 100644 --- a/app/controllers/api/relations_controller.rb +++ b/app/controllers/api/relations_controller.rb @@ -94,8 +94,6 @@ module Api nodes = Node.where(:id => node_ids.uniq).includes(:node_tags) visible_nodes = {} - # changeset_cache = {} - # user_display_name_cache = {} @nodes = [] nodes.each do |node| diff --git a/app/controllers/api/ways_controller.rb b/app/controllers/api/ways_controller.rb index 04c823ad2..102be29bd 100644 --- a/app/controllers/api/ways_controller.rb +++ b/app/controllers/api/ways_controller.rb @@ -68,8 +68,6 @@ module Api if way.visible visible_nodes = {} - # changeset_cache = {} - # user_display_name_cache = {} @nodes = []