From 67333522b0d4bc3248e9a90a4175b6a08a2fb3d4 Mon Sep 17 00:00:00 2001 From: Christophe Battarel <christophe.battarel@altairis.fr> Date: Tue, 25 Sep 2012 14:42:58 +0200 Subject: [PATCH] add ability to remove a product tab if it's defined in a module description --- htdocs/core/lib/product.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/lib/product.lib.php b/htdocs/core/lib/product.lib.php index b2cbb2f55a5..dd14889dfb5 100644 --- a/htdocs/core/lib/product.lib.php +++ b/htdocs/core/lib/product.lib.php @@ -132,6 +132,8 @@ function product_prepare_head($object, $user) } } + complete_head_from_modules($conf,$langs,$object,$head,$h,'product', 'remove'); + return $head; } -- GitLab