Section 7. Whoever, when said repeal takes effect, holds an office under any of the laws repealed shall continue to hold it according to the tenure thereof, unless it is abolished or unless a different provision relative thereto is made by the General Laws.