mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Move code comment to be the method's doc
This commit is contained in:
@@ -13,9 +13,9 @@ module ProductImport
|
||||
@enterprises_to_reset = settings.enterprises_to_reset
|
||||
end
|
||||
|
||||
# For selected enterprises; set stock to zero for all products/inventory
|
||||
# that were not listed in the newly uploaded spreadsheet
|
||||
def call
|
||||
# For selected enterprises; set stock to zero for all products/inventory
|
||||
# that were not listed in the newly uploaded spreadsheet
|
||||
return unless data_for_stock_reset?
|
||||
|
||||
@suppliers_to_reset_products = []
|
||||
|
||||
Reference in New Issue
Block a user