If the defendant has given bail, he may, at any time before the forfeiture of the undertaking, in like manner deposit the sum mentioned in the recognizance, and upon the deposit being made the bail is exonerated.
(Enacted 1872. Repealed pursuant to Section 1320.6 if and when that section takes effect.)