All prior ordinances or parts of ordinances in conflict are repealed, but nothing shall prevent the prosecution of any person or the bringing of a civil action to enjoin any person for the prior violation of any ordinance or part of any ordinance repealed.