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

@@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.com>
* 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
@@ -66,7 +67,7 @@ if (! defined("NOLOGIN")) {
if (empty($user->id)) {
print "Load permissions for admin user nb 1\n";
$user->fetch(1);
$user->getrights();
$user->loadRights();
}
$conf->global->MAIN_DISABLE_ALL_MAILS = 1;