fix message for delete api
This commit is contained in:
parent
72cb43f65b
commit
a5703a9618
@ -1005,7 +1005,7 @@ if ($dirins && $action == 'confirm_removefile' && !empty($module)) {
|
|||||||
$check = dolReplaceInFile($file_api, array($allContent => ''));
|
$check = dolReplaceInFile($file_api, array($allContent => ''));
|
||||||
if ($check) {
|
if ($check) {
|
||||||
dolReplaceInFile($file_api, array($begin => '', $end => ''));
|
dolReplaceInFile($file_api, array($begin => '', $end => ''));
|
||||||
setEventMessages($langs->trans("ApiObjectDeleted"), null);
|
setEventMessages($langs->trans("ApiObjectDeleted", $langs->transnoentities($objectname)), null);
|
||||||
}
|
}
|
||||||
fclose($handle);
|
fclose($handle);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user