Fixing style errors.
This commit is contained in:
parent
34894c15e0
commit
0b408b8012
@ -264,7 +264,7 @@ class Users extends DolibarrApi
|
|||||||
if (!DolibarrApi::_checkAccessToResource('user', $this->useraccount->id, 'user')) {
|
if (!DolibarrApi::_checkAccessToResource('user', $this->useraccount->id, 'user')) {
|
||||||
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($includepermissions) {
|
if ($includepermissions) {
|
||||||
$this->useraccount->getRights();
|
$this->useraccount->getRights();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user