ยง 1315. Discharge of garnishee's obligation. A person who, pursuant to an order of attachment, pays or delivers to the claiming agent money or other personal property in which a defendant has or will have an interest, or so pays a debt he or she owes the defendant, is discharged from his or her obligation to the defendant to the extent of the payment or delivery.