Article 1190
ART. 1190. When the conditions have for their purpose the extinguishment of an obligation to give, the parties, upon the fulfillment of said conditions, shall return to each other what they have received. In case of the loss, deterioration or improvement of the thing, the provisions which, with respect to the debtor, are laid down in the preceding article shall be applied to the party who is bound to return. As for obligations to do and not to do, the provisions of the second paragraph of article 1187 shall be observed as regards the effect of the extinguishment of the obligation. (1123)