2
0
forked from Wavyzz/dolibarr

replace deprecated (#31803)

* replace deprecated

* replace deprecated
This commit is contained in:
Frédéric FRANCE
2024-11-14 00:16:43 +01:00
committed by GitHub
parent 44371d67b3
commit 9067c6deec
100 changed files with 195 additions and 101 deletions

View File

@@ -84,7 +84,7 @@ if (! $ret > 0) {
print 'A user with login "admin" and all permissions must be created to use this script.'."\n";
exit;
}
$user->getrights();
$user->loadRights();
// Ask confirmation
if (! $confirmed) {