mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Remove dead code
This commit is contained in:
@@ -112,14 +112,6 @@ class EnterprisesController < BaseController
|
||||
order.order_cycle = order_cycles.first
|
||||
end
|
||||
|
||||
def shop_order_cycles
|
||||
if current_order_cycle
|
||||
[current_order_cycle]
|
||||
else
|
||||
OrderCycle.not_closed.with_distributor(current_distributor)
|
||||
end
|
||||
end
|
||||
|
||||
def set_noindex_meta_tag
|
||||
@noindex_meta_tag = true unless current_distributor.visible?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user