Fix: [ bug #871 ] Erreur MAJ 3.2 -> 3.3 avec pgsql
This commit is contained in:
parent
880daa4375
commit
c850d413f4
@ -329,12 +329,17 @@ 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_categorie_association($db,$langs,$conf);
|
migrate_categorie_association($db,$langs,$conf);
|
||||||
|
}
|
||||||
|
|
||||||
// Reload modules
|
$afterversionarray=explode('.','3.3.9');
|
||||||
migrate_reload_modules($db,$langs,$conf);
|
$beforeversionarray=explode('.','3.4.9');
|
||||||
|
if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0)
|
||||||
// Reload menus
|
{
|
||||||
migrate_reload_menu($db,$langs,$conf,$versionto);
|
// Reload modules (this must be always and only into last targeted version)
|
||||||
|
migrate_reload_modules($db,$langs,$conf);
|
||||||
|
|
||||||
|
// Reload menus (this must be always and only into last targeted version)
|
||||||
|
migrate_reload_menu($db,$langs,$conf,$versionto);
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<tr><td colspan="4"><br>'.$langs->trans("MigrationFinished").'</td></tr>';
|
print '<tr><td colspan="4"><br>'.$langs->trans("MigrationFinished").'</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user