Civil Code § 1475
CHAPTER 1. Performance [1473. - [1479.]]
An obligation in favor of several persons is extinguished by performance rendered to any of them, except in the case of a deposit made by owners in common, or in joint ownership, which is regulated by the Title on Deposit.