Add missing line to remove a tab in modulebuilder
This commit is contained in:
parent
ea3e3b133d
commit
b630b15991
@ -60,7 +60,9 @@ function mymoduleAdminPrepareHead()
|
||||
//$this->tabs = array(
|
||||
// 'entity:-tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'
|
||||
//); // to remove a tab
|
||||
complete_head_from_modules($conf, $langs, null, $head, $h, 'mymodule');
|
||||
complete_head_from_modules($conf, $langs, null, $head, $h, 'mymodule@mymodule');
|
||||
|
||||
complete_head_from_modules($conf, $langs, $object, $head, $h, 'mymodule@mymodule', 'remove');
|
||||
|
||||
return $head;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user