254. Notwithstanding article 369 of the Municipal Code and section 365 of the Cities and Towns Act, the repeal or amendment of a by-law which, according to the provisions of a general law or special act repealed by this act, required any approval, may be carried out only if such action is taken in conformity with this act.