mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Remove redundant ||
This commit is contained in:
@@ -11,7 +11,7 @@ module Orders
|
||||
def sufficient_stock?
|
||||
return @sufficient_stock if defined? @sufficient_stock
|
||||
|
||||
@sufficient_stock ||= order.insufficient_stock_lines.blank?
|
||||
@sufficient_stock = order.insufficient_stock_lines.blank?
|
||||
end
|
||||
|
||||
def update_line_items
|
||||
|
||||
Reference in New Issue
Block a user