From b9ae40d9784725b75e5b52f55659c80326656d8f Mon Sep 17 00:00:00 2001 From: mmd-osm Date: Thu, 27 Jun 2019 21:26:11 +0200 Subject: [PATCH 1/1] Remove non functioning changeset_cache, user_display_name_cache --- app/controllers/api/map_controller.rb | 2 -- app/controllers/api/relations_controller.rb | 2 -- app/controllers/api/ways_controller.rb | 2 -- 3 files changed, 6 deletions(-) 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 = [] -- 2.39.5