The Kerala High Court on Thursday quashed a corruption case against Indian Union Muslim League (IUML) leader and former MLA K M Shaji who had been accused of accepting a Rs 25 lakh bribe to sanction a plus two course in a higher secondary school in Azhikode area of Kannur district of the state.