2
0
forked from Wavyzz/dolibarr

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

@@ -105,7 +105,7 @@ if (!($result > 0)) {
dol_print_error(null, $user->error);
exit;
}
$user->getrights();
$user->loadRights();
$hookmanager->initHooks(array('cli'));