index afbbf3001b5106c016f97b56cc90c10d5f403540..edfd3d7d5be09a72320c841fa09f905965c67c4c 100644 (file)
function action_hook($add_attrs= array())
{
/* Find postcreate entries for this class */
- $command= $this->config->search(get_class($this), "ACTION_HOOK",array('menu'));
- if ($command == "" && isset($this->config->data['TABS'])){
- $command= $this->config->search(get_class($this), "ACTION_HOOK",array('tabs'));
- }
-
+ $command= $this->config->search(get_class($this), "ACTION_HOOK",array('menu','tabs'));
if ($command != ""){
/* Walk through attribute list */