From 111e3fcd32b956bc6d86b3e67618d3c2c7ca766c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 17 Oct 2024 00:52:42 +0200 Subject: [PATCH] Revert "NEW - Add a new hook on order list (#31315)" This reverts commit 1e64870a9ec465f090f94e907a4dd3c1a1257305. --- htdocs/commande/list.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 2d80c7afec5..bf39beba029 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -2566,21 +2566,6 @@ if ($resql) { } } } - - // Call Hook modifyTextInfo - $parameters = array('textinfo' => $text_info); - $reshook = $hookmanager->executeHooks('modifyTextInfo', $parameters, $object, $action); - if ($reshook == 1) { - // for add information - $text_info .= $hookmanager->resPrint; - } elseif ($reshook == 0) { - // for replace information - $text_info = $hookmanager->resPrint; - } elseif ($reshook == -1) { - // for errors - setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); - } - if ($notshippable == 0) { $text_icon = img_picto('', 'dolly', '', false, 0, 0, '', 'green paddingleft'); $text_info = $text_icon.' '.$langs->trans('Shippable').'
'.$text_info;