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

@@ -1,6 +1,7 @@
#!/usr/bin/env php
<?php
/* Copyright (C) 2009 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -53,7 +54,7 @@ if (!$result > 0) {
dol_print_error(null, $user->error);
exit;
}
$user->getrights();
$user->loadRights();
print "***** ".$script_file." (".$version.") *****\n";