clean and update code
This commit is contained in:
parent
e755fde52a
commit
3297554102
@ -366,11 +366,11 @@ if (! $error && $xml)
|
|||||||
// Show warning
|
// Show warning
|
||||||
if (empty($tmpfilelist) && empty($tmpfilelist2) && empty($tmpfilelist3))
|
if (empty($tmpfilelist) && empty($tmpfilelist2) && empty($tmpfilelist3))
|
||||||
{
|
{
|
||||||
setEventMessage($langs->trans("FileIntegrityIsStrictlyConformedWithReference"));
|
setEventMessages($langs->trans("FileIntegrityIsStrictlyConformedWithReference"), null, 'mesgs');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setEventMessage($langs->trans("FileIntegritySomeFilesWereRemovedOrModified"), 'warnings');
|
setEventMessages($langs->trans("FileIntegritySomeFilesWereRemovedOrModified"), null, 'warnings');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -54,10 +54,13 @@ if ($action == 'updateMask') {
|
|||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$error) {
|
if (!$error)
|
||||||
setEventMessage($langs->trans("SetupSaved"));
|
{
|
||||||
} else {
|
setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
|
||||||
setEventMessage($langs->trans("Error"), 'errors');
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
setEventMessages($langs->trans("Error"), null, 'errors');
|
||||||
}
|
}
|
||||||
} elseif ($action == 'setmod') {
|
} elseif ($action == 'setmod') {
|
||||||
// TODO Verifier si module numerotation choisi peut etre active
|
// TODO Verifier si module numerotation choisi peut etre active
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user