This chapter does not affect any act done or committed in violation of any former ordinance relating to the same subject, or any suit or proceeding now pending in court for the violation of the provisions of any former ordinance, or any cause or causes of action accrued or existing under such ordinance, but all proceedings or prosecutions now pending shall be conducted to final determination irrespective of this chapter.