From d916ed2c96671a7d949c1317fabb96a08bb78624 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 10 Sep 2025 09:59:47 +1000 Subject: [PATCH] Remove retired hub_address feature --- app/views/checkout/_summary.html.haml | 2 +- lib/open_food_network/feature_toggle.rb | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/checkout/_summary.html.haml b/app/views/checkout/_summary.html.haml index a4cd24addc..f635f6d694 100644 --- a/app/views/checkout/_summary.html.haml +++ b/app/views/checkout/_summary.html.haml @@ -11,7 +11,7 @@ = @order.shipping_method.name %em.fees= payment_or_shipping_price(@order.shipping_method, @order) .two-columns - = render "delivery_details" if @order.shipping_method.delivery? || feature?(:hub_address) + = render "delivery_details" if @order.shipping_method.delivery? - if @order.shipping_method.description.present? %div .summary-subtitle diff --git a/lib/open_food_network/feature_toggle.rb b/lib/open_food_network/feature_toggle.rb index 42a1cb6642..7400c17ef6 100644 --- a/lib/open_food_network/feature_toggle.rb +++ b/lib/open_food_network/feature_toggle.rb @@ -61,9 +61,6 @@ module OpenFoodNetwork "inventory" => <<~DESC, Enable the inventory. DESC - "hub_address" => <<~DESC, - Show the hub's address as shipping address on pickup orders. - DESC "cqcm-dev" => <<~DESC, Show DFC Permissions interface to share data with CQCM dev platform. DESC