(1) If there are issue, or a father or mother, or both, or collateral relations up to nephews or nieces in the first degree inclusively, as the case may be, the wife in order to be able to succeed to her husband must abandon all her rights in any community of property that may have existed between herself and the deceased, as well as all rights of survivorship accruing to her under her marriage contract or by law; nor can the husband succeed to his wife unless he first pay into the mass, as if it were a return made under the provisions of article 642, his share in any community of property which may have existed between him and his wife, when such community has been accepted by the succession of his said wife, or abandon to such mass all the rights and advantages conferred on him by any marriage contract which may have existed between them.