50. The holder of a thing entrusted for safekeeping, work or processing may, if it is not claimed upon completion of the work or at the end of the agreed period or if it is forgotten, dispose of it in accordance with the provisions of articles 944 and 945 of the new Code. He nevertheless remains entitled to proceed with the sale thereof in accordance with the former legislation if all the formalities of publication required by that legislation have already been completed on 1 January 1994.