|
From: | Marcos García |
Subject: | Re: [Dolibarr-dev] Nonused variables |
Date: | Sun, 4 May 2014 00:35:51 +0200 |
Great.
Thanks Laurent.
Regards, Marcos.
Yes, reason is to uniformize code.For a future we may also want to track who do what, so $user may be used in a future to store/track who make changes. Also, a trigger may be added or a hook may be added into function. When this will be done, $user will be required, so code is already ready.2014-05-03 13:23 GMT+02:00 Marcos García <address@hidden>:Hi:I've been checking Societe class and several functions receive a $user parameter that is not used all over the function.Those functions are:
· Societe::getSalesRepresentatives· Societe::set_OutstandingBill· Societe::add_commercial· Societe::del_commercialAre there any reasons for this?Regards,
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
--Laurent Destailleur (alias Eldy)------------------------------------------------------------------------------------Social networks of my OpenSource projects:Dolibarr Google+: https://plus.google.com/+DolibarrOrg/Dolibarr Facebook: https://www.facebook.com/dolibarrDolibarr Twitter: http://www.twitter.com/dolibarrAWStats Google+: https://plus.google.com/+AWStatsOrgPoject/AWStats Facebook: https://www.facebook.com/awstats.orgAWStats Twitter: http://www.twitter.com/awstats_project
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
[Prev in Thread] | Current Thread | [Next in Thread] |