Use the non deprecated function loadRights instead of getrights

This commit is contained in:
Laurent Destailleur
2024-08-02 10:36:43 +02:00
parent 56d4a30bdf
commit f002fb4ed1
48 changed files with 67 additions and 68 deletions

View File

@@ -200,7 +200,7 @@ class DolibarrApiAccess implements iAuthenticate
}
// User seems valid
$fuser->getrights();
$fuser->loadRights();
// Set the property $user to the $user of API
static::$user = $fuser;