[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] Duplicated code?

From: Laurent Destailleur (eldy)
Subject: Re: [Dolibarr-dev] Duplicated code?
Date: Sat, 12 Jan 2013 15:40:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

No, it's not same update.
First it deletes the link to thirdparty for other members linked to it
Then it link the member (not same member of delete) to the new thirdparty.

Goal is to have on link between memeber and thirdparty for each thirdparty.

Le 11/01/2013 17:28, Marcos García a écrit :

I've been doing tests for adherent.class.php and I found a piece of code that I think it is duplicated. In branch develop or 3.3, file /adherents/class/adherent.class.php, function setThirdParty lines 953-965. I see it deletes the previous fk_soc field and then it updates it with a new one. Wouldn't be the same changing or removing in the same query?

Marcos García

Dolibarr-dev mailing list

Eldy (Laurent Destailleur).

EMail: address@hidden

Dolibarr (Project leader):
To make a donation for Dolibarr project via Paypal: address@hidden
AWStats (Author) :
To make a donation for AWStats project via Paypal: address@hidden
AWBot (Author) :
CVSChangeLogBuilder (Author) :

reply via email to

[Prev in Thread] Current Thread [Next in Thread]