|
@@ -468,11 +468,11 @@ if (! GETPOST('action','aZ09') || preg_match('/upgrade/i',GETPOST('action','aZ09
|
|
|
$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_dir($db, $langs, $conf);
|
|
|
|
|
|
+
|
|
|
dol_mkdir(DOL_DATA_ROOT.'/bank');
|
|
|
migrate_directories($db, $langs, $conf, '/banque/bordereau', '/bank/checkdeposits');
|
|
|
}
|
|
@@ -3941,7 +3941,11 @@ function migrate_delete_old_files($db,$langs,$conf)
|
|
|
DOL_DOCUMENT_ROOT.'/core/modules/mailings/poire.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_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)
|