Add hook to allow external modules to add their own shortlist of recent objects
This commit is contained in:
parent
de9835ae47
commit
5ff18baaa8
@ -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