A.
No civil action shall be maintained against the Town of Plattekill or the Superintendent of Highways of the Town of Plattekill or against any improvement district in the Town of Plattekill for damages or injuries to persons or property sustained by reason of any highway, bridge, culvert or any other property owned by the Town of Plattekill or any property owned by any improvement district herein being defective, out of repair, unsafe, dangerous or obstructed, unless written notice of such defective, unsafe, dangerous or obstructed condition of such highway, bridge, culvert or any other property owned by the Town of Plattekill or any property owned by any improvement district was actually given to the Town Clerk of the Town of Plattekill or the Town Superintendent of Highways of the Town of Plattekill and that there was a failure or neglect, within a reasonable time after the giving of such notice, to repair or remove the defect, danger or obstruction complained of; and no such action shall be maintained for damages or injuries to persons or property sustained solely in consequence of the existence of snow or ice upon any highway, bridge, culvert or any other property owned by the Town of Plattekill or any property owned by any improvement district in the the Town of Plattekill, unless written notice thereof, specifying the particular place, was actually given to the Town Clerk of the Town of Plattekill or to the Town Superintendent of Highways of the Town of Plattekill and there was a failure or neglect to cause such snow or ice to be removed or to make the place otherwise reasonably safe within a reasonable time after the receipt of such notice.
B.
No civil action shall be maintained against the Town of Plattekill and/or the Town Superintendent of Highways of the Town of Plattekill for damages or injuries to persons or property sustained by reason of any defect in the sidewalks of the Town of Plattekill or in consequence of the existence of snow or ice upon any of its sidewalks, unless such sidewalks have been constructed or are maintained by the Town of Plattekill or the Superintendent of Highways of the Town of Plattekill pursuant to statute, nor shall any action be maintained for damages or injuries to persons or property sustained by reason of such defect or in consequence of such existence of snow or ice, unless written notice thereof, specifying the particular place, was actually given to the Town Clerk of the Town of Plattekill or to the Town Superintendent of Highways of the Town of Plattekill and there was a failure or neglect to cause such defect to be remedied or such snow or ice to be removed or to make the place otherwise reasonably safe within a reasonable time after the receipt of such notice.