CrPC section 124 is now BNSS 143
Now BNSS section 143, with the same rule for bonds and bail bonds.
Old law · CrPC section 124
Security for unexpired period of bond
(1) When a person for whose appearance a summons or warrant has been issued under the proviso to sub-section (3) of section 121 or under sub-section (10) of section 123, appears or is brought before the Magistrate or Court, the Magistrate or Court shall cancel the bond executed by such person and shall order such person to give, for the unexpired portion of the term of such bond, fresh security of the same description as the original security.
(2) Every such order shall, for the purposes of sections 120 to 123 (both inclusive) be deemed to be an order made under section 106 or section 117, as the case may be.
New law · BNSS section 143
Security for unexpired period of bond
(1) When a person for whose appearance a summons or warrant has been issued under the proviso to sub-section (3) of section 140 or under sub-section (10) of section 142, appears or is brought before the Magistrate or Court, the Magistrate or Court shall cancel the bond or bail bond executed by such person and shall order such person to give, for the unexpired portion of the term of such bond, fresh security of the same description as the original security.
(2) Every such order shall, for the purposes of sections 139 to 142 (both inclusive) be deemed to be an order made under section 125 or section 136, as the case may be.