From: Anton Khorev Date: Tue, 21 Nov 2023 10:55:35 +0000 (+0300) Subject: Remove 'need to return bbox' comment on conditions_bbox X-Git-Tag: live~432^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f23993a4df6faae5f04dc6ab37fb41cb0df1742d Remove 'need to return bbox' comment on conditions_bbox --- diff --git a/app/controllers/api/changesets_controller.rb b/app/controllers/api/changesets_controller.rb index 9bdf0f2bd..c9c806de6 100644 --- a/app/controllers/api/changesets_controller.rb +++ b/app/controllers/api/changesets_controller.rb @@ -283,7 +283,6 @@ module Api ## # if a bounding box was specified do some sanity checks. # restrict changesets to those enclosed by a bounding box - # we need to return both the changesets and the bounding box def conditions_bbox(changesets, bbox) if bbox bbox.check_boundaries diff --git a/app/controllers/changesets_controller.rb b/app/controllers/changesets_controller.rb index fef4d85eb..859242b60 100644 --- a/app/controllers/changesets_controller.rb +++ b/app/controllers/changesets_controller.rb @@ -83,7 +83,6 @@ class ChangesetsController < ApplicationController ## # if a bounding box was specified do some sanity checks. # restrict changesets to those enclosed by a bounding box - # we need to return both the changesets and the bounding box def conditions_bbox(changesets, bbox) if bbox bbox.check_boundaries