NEW add hook 'addMoreInformationsBlock'

This commit is contained in:
Regis Houssin 2025-01-10 00:33:51 +01:00
parent 7618df8726
commit 3f7d5cf790

View file

@ -2088,6 +2088,13 @@ if ($action == 'create' || $action == 'adduserldap') {
print '</table>';
print '</div>';
// Other informations block
$parameters = array('caneditpasswordandsee' => $permissiontoeditpasswordandsee, 'caneditpasswordandsend' => $permissiontoeditpasswordandsend);
$reshook = $hookmanager->executeHooks('addMoreInformationsBlock', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
if ($reshook > 0) {
print $hookmanager->resPrint;
}
print '</div>';
print '</div>';