Removed dead code

This commit is contained in:
Laurent Destailleur 2015-11-02 09:08:08 +01:00
parent 3409686405
commit 6fe43cbbeb

View File

@ -133,18 +133,6 @@ function product_prepare_head($object)
$head[$h][2] = 'documents';
$h++;
// More tabs from canvas
// TODO Is this still used ?
if (isset($object->onglets) && is_array($object->onglets))
{
foreach ($object->onglets as $onglet)
{
$head[$h] = $onglet;
$h++;
}
}
complete_head_from_modules($conf,$langs,$object,$head,$h,'product', 'remove');
return $head;