Doc
This commit is contained in:
parent
437539ecb9
commit
4f8efacb11
@ -796,9 +796,9 @@ if ($mode == 'common' || $mode == 'commonkanban') {
|
|||||||
if ($objMod->isCoreOrExternalModule() == 'external'
|
if ($objMod->isCoreOrExternalModule() == 'external'
|
||||||
&& (
|
&& (
|
||||||
$action == 'checklastversion'
|
$action == 'checklastversion'
|
||||||
// This is a bad practice to activate a synch external access during building of a page. 1 external module can hang the application.
|
// This is a bad practice to activate a check on an external access during the building of the admin page. 1 external module can hang the application.
|
||||||
// Adding a cron job could be a good idea see DolibarrModules::checkForUpdate()
|
// Adding a cron job could be a good idea: see DolibarrModules::checkForUpdate()
|
||||||
|| !empty($conf->global->CHECKLASTVERSION_EXTERNALMODULE)
|
|| !empty($conf->global->CHECKLASTVERSION_EXTERNALMODULE)
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
$checkRes = $objMod->checkForUpdate();
|
$checkRes = $objMod->checkForUpdate();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user