When a municipality or a part thereof is annexed to another municipality and there is within the limits of the municipality or part thereof which is annexed, a schoolhouse or property formerly belonging to the board of education of the school district situated in such municipality, any indebtedness of such board of education for the erection, purchase, furnishing or repair of such schoolhouse or property shall be assumed by and become the obligation of the board of education of the school district of the annexing municipality.
N.J.S. § 18A:8-3.1