Removed dead code
This commit is contained in:
parent
3409686405
commit
6fe43cbbeb
@ -133,18 +133,6 @@ function product_prepare_head($object)
|
|||||||
$head[$h][2] = 'documents';
|
$head[$h][2] = 'documents';
|
||||||
$h++;
|
$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');
|
complete_head_from_modules($conf,$langs,$object,$head,$h,'product', 'remove');
|
||||||
|
|
||||||
return $head;
|
return $head;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user