The Mayor of County Cork has quit Fianna Fáil after more than 30 years and has criticised Micheál Martin “for not giving the party effective leadership” and wanting “to be surrounded by yes men in the parliamentary party”.