Every motion or resolution of a planning board shall require
for its adoption the affirmative vote of a majority of all the members
of the planning board. Where an action is the subject of a referral
to the county planning agency or regional planning council the voting
provisions of §§ 239-m and 239-n of the General Municipal
Law shall apply.