mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Add form setup and backport as default setup builder
This commit is contained in:
parent
72bfedaba1
commit
f8dcc1daaf
|
|
@ -249,7 +249,7 @@ if ($dirins && $action == 'initmodule' && $modulename) {
|
|||
$error++;
|
||||
$langs->load("errors");
|
||||
setEventMessages($langs->trans("ErrorFailToCreateDir", $backportDest), null, 'errors');
|
||||
$tryToCopyFromSetupClass = true;
|
||||
$tryToCopyFromSetupClass = false;
|
||||
}
|
||||
|
||||
if ($tryToCopyFromSetupClass) {
|
||||
|
|
@ -260,7 +260,7 @@ if ($dirins && $action == 'initmodule' && $modulename) {
|
|||
$langs->load("errors");
|
||||
setEventMessages($langs->trans("ErrorFailToCopyFile", $backportFileSrc, $backportFileDest), null, 'errors');
|
||||
} else {
|
||||
setEventMessages($langs->trans("AllFilesDidAlreadyExist", $backportFileDest), null, 'warnings');
|
||||
setEventMessages($langs->trans("FileDidAlreadyExist", $backportFileDest), null, 'warnings');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user