From 54b78863319cda11b4f556b0e65809e569725802 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 20 Oct 2019 13:40:18 +0200 Subject: [PATCH] Update api_orders.class.php --- htdocs/commande/class/api_orders.class.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/htdocs/commande/class/api_orders.class.php b/htdocs/commande/class/api_orders.class.php index 40732fbd045..5dddf4d0f6f 100644 --- a/htdocs/commande/class/api_orders.class.php +++ b/htdocs/commande/class/api_orders.class.php @@ -103,24 +103,6 @@ class Orders extends DolibarrApi return $this->_fetch('', '', $ref_ext, '', $contact_list); } - /** - * Get properties of an order object by ref_int - * - * Return an array with order informations - * - * @param string $ref_int Internal reference of object - * @param int $contact_list 0: Returned array of contacts/addresses contains all properties, 1: Return array contains just id - * @return array|mixed data without useless information - * - * @url GET byRefInt/{ref_int} - * - * @throws RestException - */ - public function getByRefInt($ref_int, $contact_list = 1) - { - return $this->_fetch('', '', '', $ref_int, $contact_list); - } - /** * Get properties of an order object *