global $Hooks;
- $result = array();
+ $return = array();
foreach($Hooks as $ext => $hook)
if (method_exists($hook, $method)) {
set_ext_domain('modules/'.$ext);
}
}
set_ext_domain();
- return $result;
+ return $return;
}
/*
Returns first non-null result returned from hook.