Skip to content

Commit 0336576

Browse files
committed
feat(translation): limit massive actions
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 0ee9257 commit 0336576

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

inc/translation.class.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ public static function showForForm(CommonDBTM $item, $withtemplate = '') {
278278
return true;
279279
}
280280

281-
// Note : reset translation cache : Config::getCache('cache_trans')->clear();
282-
283-
// $translator->clearCache('default', 'en_US');
281+
public function getForbiddenStandardMassiveAction() {
282+
return [
283+
'update', 'clone', 'add_note'
284+
];
285+
}
284286
}

0 commit comments

Comments
 (0)