Fix phpcs
This commit is contained in:
parent
e22bd5c048
commit
7758c0b8a7
@ -147,10 +147,12 @@ class DolibarrApiAccess implements iAuthenticate
|
||||
if ($result <= 0) {
|
||||
throw new RestException(503, 'Error when fetching user :'.$fuser->error.' (conf->entity='.$conf->entity.')');
|
||||
}
|
||||
|
||||
$fuser->getrights();
|
||||
|
||||
// Set the property $user to the $user of API
|
||||
static::$user = $fuser;
|
||||
|
||||
// Set the global variable $user to the $user of API
|
||||
// Set also the global variable $user to the $user of API
|
||||
$user = $fuser;
|
||||
|
||||
if ($fuser->socid) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user