The mayor and council of said city shall have the power and authority to enact ordinances for the purpose of preventing the spread of contagious and infectious diseases, to declare and maintain quarantine regulations against such diseases, and to punish violations of any of the quarantine regulations. The said city shall have the power and authority to build or establish a pesthouse within and beyond the corporate limits of said city and for this purpose may buy, hold, condemn, lease, or receive real estate within and beyond the corporate limits of said city. The said mayor and council shall have the power to compel the removal to the pesthouse of any person who has the smallpox or any contagious or infectious disease when in their judgment it is best for the welfare and health of the said city. They shall have power to compel all persons to be vaccinated, whether they be permanent residents or sojourners, and may provide vaccination points and employ physicians at the expense of the said city to vaccinate all persons who are unable to procure said vaccination, and may pass necessary ordinances to enforce the provisions of this section. (Ga. L. 1909, p. 1071, Sec. 51 as amended by Ga. L. 1917, p. 747, Sec. 4)