Optimisation mmoire et ajout info

This commit is contained in:
Laurent Destailleur
2007-09-15 21:04:06 +00:00
parent 136e5cfc3f
commit 9ed072aad1
5 changed files with 16 additions and 11 deletions

View File

@@ -26,8 +26,6 @@
\version $Revision$
*/
require_once(DOL_DOCUMENT_ROOT."/contact.class.php");
/**
\class CommonObject
@@ -327,6 +325,7 @@ class CommonObject
*/
function fetch_contact($contactid)
{
require_once(DOL_DOCUMENT_ROOT."/contact.class.php");
$contact = new Contact($this->db);
$result=$contact->fetch($contactid);
$this->contact = $contact;