Code comment

This commit is contained in:
Laurent Destailleur 2019-06-20 02:43:56 +02:00
parent 14cce1f8b0
commit b4e47d289b

View File

@ -520,8 +520,8 @@ class User extends CommonObject
* Add a right to the user
*
* @param int $rid Id of permission to add or 0 to add several permissions
* @param string $allmodule Add all permissions of module $allmodule
* @param string $allperms Add all permissions of module $allmodule, subperms $allperms only
* @param string $allmodule Add all permissions of module $allmodule or 'allmodules' to include all modules.
* @param string $allperms Add all permissions of module $allmodule, subperms $allperms only or '' to include all permissions.
* @param int $entity Entity to use
* @param int $notrigger 1=Does not execute triggers, 0=Execute triggers
* @return int > 0 if OK, < 0 if KO