mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-17 23:11:29 +01:00
NEW Add dictionary to store public holidays.
This commit is contained in:
@@ -1094,6 +1094,8 @@ function complete_dictionary_with_modules(&$taborder, &$tabname, &$tablib, &$tab
|
||||
{
|
||||
global $db, $modules, $conf, $langs;
|
||||
|
||||
dol_syslog("complete_dictionary_with_modules Search external modules to complete the list of dictionnary tables", LOG_DEBUG, 1);
|
||||
|
||||
// Search modules
|
||||
$modulesdir = dolGetModulesDirs();
|
||||
$i = 0; // is a sequencer of modules found
|
||||
@@ -1191,6 +1193,8 @@ function complete_dictionary_with_modules(&$taborder, &$tabname, &$tablib, &$tab
|
||||
}
|
||||
}
|
||||
|
||||
dol_syslog("", LOG_DEBUG, -1);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -1259,7 +1263,7 @@ function activateModulesRequiredByCountry($country_code)
|
||||
}
|
||||
|
||||
/**
|
||||
* Add external modules to list of contact element
|
||||
* Search external modules to complete the list of contact element
|
||||
*
|
||||
* @param array $elementList elementList
|
||||
* @return int 1
|
||||
@@ -1278,6 +1282,8 @@ function complete_elementList_with_modules(&$elementList)
|
||||
$i = 0; // is a sequencer of modules found
|
||||
$j = 0; // j is module number. Automatically affected if module number not defined.
|
||||
|
||||
dol_syslog("complete_elementList_with_modules Search external modules to complete the list of contact element", LOG_DEBUG, 1);
|
||||
|
||||
$modulesdir = dolGetModulesDirs();
|
||||
|
||||
foreach ($modulesdir as $dir)
|
||||
@@ -1355,6 +1361,8 @@ function complete_elementList_with_modules(&$elementList)
|
||||
}
|
||||
}
|
||||
|
||||
dol_syslog("", LOG_DEBUG, -1);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user