NEW - Hook infoadmin

This commit is contained in:
Anthony Berton 2023-05-05 18:02:49 +02:00
parent 166f8039fd
commit 3dfb4aae18

View File

@ -130,7 +130,10 @@ if (empty($conf->global->MAIN_REMOVE_INSTALL_WARNING)) {
//if (!empty($message)) $message.='<br>';
$message .= info_admin($langs->transnoentities("WarningConfFileMustBeReadOnly").' '.$langs->trans("WarningUntilDirRemoved", DOL_DOCUMENT_ROOT."/install"), 0, 0, '1', 'clearboth');
}
$reshook = $hookmanager->executeHooks('infoadmin', $action); // Note that $action and $object may have been modified by some hooks
if ($reshook == 0) {
$message .= $hookmanager->resPrint;
}
if ($message) {
print $message.'<br>';
//$message.='<br>';