Where the board of county commissioners has enclosed with a substantial fence of stone, iron, or posts and boards, all abandoned public cemeteries in the county, from which the remains of the dead have not been removed, the board of township trustees shall keep the fence in good repair, remove the undergrowth and weeds from such cemetery at least once a year, and pay the expense thereof from township funds.