FIX clean code

This commit is contained in:
Regis Houssin 2018-07-24 20:10:27 +02:00 committed by Laurent Destailleur
parent 8ab03c469a
commit e1877625a0

View File

@ -67,7 +67,7 @@ class Users extends DolibarrApi
global $db, $conf;
$obj_ret = array();
se
if(! DolibarrApiAccess::$user->rights->user->user->lire) {
throw new RestException(401, "You are not allowed to read list of users");
}