Merge pull request #15948 from atm-kevin/NEW/Hook_on_customer_tab_to_add_shortlist
NEW Hook to allow external modules to add their own shortlist of recent objects
This commit is contained in:
commit
0999bc74d2
@ -1266,6 +1266,12 @@ if ($object->id > 0)
|
||||
}
|
||||
}
|
||||
|
||||
// Allow external modules to add their own shortlist of recent objects
|
||||
$parameters = array();
|
||||
$reshook = $hookmanager->executeHooks('addMoreRecentObjects', $parameters, $object, $action);
|
||||
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
else print $hookmanager->resPrint;
|
||||
|
||||
print '</div></div></div>';
|
||||
print '<div style="clear:both"></div>';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user