45. Before entering upon his duties, every municipal officer is bound to take the oath of office according to the form contained in section 32. On his failure to do so within fifteen days of his appointment, he shall be deemed to have refused to discharge the duties of the office to which he has been appointed.