Section 2. All regulations, by ordinance of the councils of cities of the first class, of the subjects mentioned in section one of this act, heretofore made and ordained, are hereby confirmed and declared to be lawful and within the scope of the powers of councils of cities of the first class.