Plaintiff homeowners association is a nonprofit corporation. It held a recall election at which a majority of the votes cast, but not a majority of eligible votes, were in favor of the recall. The corporation’s articles required a majority of eligible voters to recall board members, but that provision is invalidated by Corp. Code 5034, 7222(a)(2), 7151(e), allowing a majority of votes cast to determine the outcome for corporations with more than 50 members. As required, a quorum was present at the meeting at which the vote took place. Corp. Code 7512 sets a default quorum requirement of 33 percent of the voting membership, but allows variation by the by-laws. Here, the by-laws allowed a quorum of 25 percent of eligible voters, which was satisfied. Corp. Code 7616 authorizes the trial court to enter an order directing the corporation’s CEO to follow the directions of the new board of directors installed after the recall election.