FIX #6881
This commit is contained in:
parent
ab5545d02d
commit
19b8918caf
@ -453,11 +453,11 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action')))
|
|||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
|
|
||||||
// Actions for all version (not in database)
|
// Actions for all versions (not in database)
|
||||||
migrate_delete_old_files($db, $langs, $conf);
|
migrate_delete_old_files($db, $langs, $conf);
|
||||||
|
|
||||||
migrate_delete_old_dir($db, $langs, $conf);
|
migrate_delete_old_dir($db, $langs, $conf);
|
||||||
|
|
||||||
|
|
||||||
dol_mkdir(DOL_DATA_ROOT.'/bank');
|
dol_mkdir(DOL_DATA_ROOT.'/bank');
|
||||||
migrate_directories($db, $langs, $conf, '/banque/bordereau', '/bank/checkdeposits');
|
migrate_directories($db, $langs, $conf, '/banque/bordereau', '/bank/checkdeposits');
|
||||||
}
|
}
|
||||||
@ -3926,7 +3926,11 @@ function migrate_delete_old_files($db,$langs,$conf)
|
|||||||
DOL_DOCUMENT_ROOT.'/core/modules/mailings/poire.modules.php',
|
DOL_DOCUMENT_ROOT.'/core/modules/mailings/poire.modules.php',
|
||||||
DOL_DOCUMENT_ROOT.'/core/modules/mailings/kiwi.modules.php',
|
DOL_DOCUMENT_ROOT.'/core/modules/mailings/kiwi.modules.php',
|
||||||
DOL_DOCUMENT_ROOT.'/core/modules/facture/pdf_crabe.modules.php',
|
DOL_DOCUMENT_ROOT.'/core/modules/facture/pdf_crabe.modules.php',
|
||||||
DOL_DOCUMENT_ROOT.'/core/modules/facture/pdf_oursin.modules.php'
|
DOL_DOCUMENT_ROOT.'/core/modules/facture/pdf_oursin.modules.php',
|
||||||
|
|
||||||
|
DOL_DOCUMENT_ROOT.'/compta/facture/class/api_invoice.class.php',
|
||||||
|
DOL_DOCUMENT_ROOT.'/commande/class/api_commande.class.php',
|
||||||
|
DOL_DOCUMENT_ROOT.'/user/class/api_user.class.php'
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($filetodeletearray as $filetodelete)
|
foreach ($filetodeletearray as $filetodelete)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user