All fines collected or received by the district court for or on account of violations of the charter or ordinances of the city, shall be distributed by the district court pursuant to section 8379 of Act No. 236 of the Public Acts of 1961, as amended, being section 600.8379 of the Michigan Compiled Laws. All fines collected or received by a municipal court or the traffic and ordinance division of the recorder’s court of the city of Detroit, for or on account of violations of the charter or ordinances of the city, shall be paid over to the city treasurer.