diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 5c61583636e..b913b393ca1 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -935,19 +935,7 @@ class Commande extends CommonObject $adresse->fetch_adresse_livraison($idadresse); $this->adresse = $adresse; } - - /** - * - * - */ - - function fetch_contact_commande($id) - { - $idcontact = $id; - $contact = new Contact($this->db); - $contact->fetch($idcontact); - $this->contact = $contact; - } + /** * \brief Renvoie un tableau avec les expéditions par ligne diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index 742f55ebe34..9cbce81612f 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -476,19 +476,6 @@ class Facture extends CommonObject $this->client = $client; } - /** - * - * - */ - - function fetch_contact_facture($id) - { - $idcontact = $id; - $contact = new Contact($this->db); - $contact->fetch($idcontact); - $this->contact = $contact; - } - /** * \brief Classe la facture dans un projet