When the corporate authority no longer requires the services of any railroad or street railway policemen, it shall file a notice to that effect, under its corporate seal, in the office of the Secretary of the Commonwealth, in the office of the recorder of deeds where the oath and commission were recorded and with the commissioner. The recorder of deeds shall note this information upon the margin of the record where the oath and commission were recorded and thereupon the powers of the policemen shall terminate.
22 Pa.C.S. § 3305