mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-22 05:18:51 +00:00
The method `associate_customer` only loads a customer but doesn't actually associate one. So the deleted line doesn't have any effect. The intention was to reset the customer after switching shops but the before_validation logic on the order model takes care of that already. I'm renaming this private method here for clarity.