diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index b03aec90908..4acd0e1509f 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3179,13 +3179,6 @@ class Form $out .= ''; } - if (! is_object($hookmanager)) { - require_once DOL_DOCUMENT_ROOT . '/core/class/hookmanager.class.php'; - $hookmanager = new HookManager($this->db); - } - - $hookmanager->initHooks(array('form')); - $i = 0; while ($i < $num) { $objp = $this->db->fetch_object($result);