mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +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.