Fix #2909
This commit is contained in:
parent
14b1fb845f
commit
13001a5e9c
@ -363,7 +363,13 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action')))
|
|||||||
if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0)
|
if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0)
|
||||||
{
|
{
|
||||||
migrate_event_assignement($db,$langs,$conf);
|
migrate_event_assignement($db,$langs,$conf);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Scripts for lat version
|
||||||
|
$afterversionarray=explode('.','3.7.9');
|
||||||
|
$beforeversionarray=explode('.','3.8.9');
|
||||||
|
if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0)
|
||||||
|
{
|
||||||
// Reload modules (this must be always and only into last targeted version)
|
// Reload modules (this must be always and only into last targeted version)
|
||||||
$listofmodule=array(
|
$listofmodule=array(
|
||||||
'MAIN_MODULE_AGENDA',
|
'MAIN_MODULE_AGENDA',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user