The bureau of health of each of said cities shall have full power to cause all offensive or putrid substances and all nuisances to be removed, and to cause such of the privies within the limits aforesaid to be emptied or corrected, at the expense of the owners, agents or occupants of the houses to which the said privies are appurtenant, as said bureau shall from time to time deem necessary; and if the owners, agents or occupants of the premises, on or in which any offensive or putrid substance or other nuisance may be found, and the owners, agents or occupants of the houses to which the said privies are appurtenant, shall on due notice thereof refuse or neglect to have the same immediately removed, emptied or corrected as aforesaid, he, she or they, so refusing or neglecting, shall be subject to all the penalties prescribed in section eleven of this act; and the expense attending the removal, emptying, or correction of the same shall be recovered by the said bureau before any alderman, police magistrate, or justice of the peace, or in any court having jurisdiction, from all corporate bodies and individuals.
53 P.S. § 24578