Hi all:

I have been checking the Societe class and I noticed 2 variables that do
the same. None of them are marked as deprecated, that's why I am asking you
to tell.

Societe::datec: set in line 947 ($this->db->jdate($obj->datec)
Societe::date_creation: set in line 2519 ($this->date_creation     =
$this->db->jdate($obj->datec);

Societe::date_update: set in line 948 ($obj->date_update))
Societe::date_modification: set in line 2529 ($this->db->jdate($obj->datea))

What is the difference between them? I think this may be because of code
standarization, but because we don't use getters and setters this could
lead to outdated values... Don't you think so?

Regards,


*Marcos García*

marcos...@gmail.com
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à