Hello,

There is something that seems strange to me:
The CommonDBTM::check() method is called in the $this context (as it is not a 
static method), and there is a call to getFromDB($ID) which reloads the object 
from DB even if object is already loaded.
For me we should optimize this behavior with a test to prevent reload of object 
from DB when object is already loaded.
Do you agree?

regards,
Tomolimo



[AR-SigLeftPic]

Olivier MORON
GLPI Development

[AR-SigCompLogo]

RAYNET SAS ("the Company")
Registration number: RCS Grenoble 429 754 096
Headquarters: Grenoble (FRANCE)
Address: 113, cours Berriat - BP 157 - 38000 Grenoble - FRANCE
Tel : +33 476 33 4952
Cell: +33 6 07 22 53 99
Fax: +33 4 76 70 56 63
Mailto: olivier.mo...@araymond.com<mailto:olivier.mo...@araymond.com>



No employee or agent of the Company is authorized to enter into any legally 
binding Agreement by e-mail or by any other electronic means unless that 
Agreement is expressly confirmed as part of a final contract issued in writing 
by an authorized Representative of the Company. ARaymond(tm) is used as a 
trademark. In any cases the Company's General Terms and Conditions and any 
other documents referred in the Company's offer shall exclusively apply to 
business relationships. This message and any attachments are confidential, for 
the exclusive use of the addressee and may be legally privileged. Any other 
distribution, use or reproduction is unauthorized and prohibited.



_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to