mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-24 01:33:26 +01:00
Fix phpcs
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user