Full performance of an obligation, by the party whose duty it is to perform it, or by any other person on his behalf, and with his assent, if accepted by the creditor, extinguishes it.
(Enacted 1872.)