mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
NEW - Hook infoadmin
This commit is contained in:
parent
166f8039fd
commit
3dfb4aae18
|
|
@ -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>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user