From 9c6b8f90f079679c14eb903948a377fc2c79ba40 Mon Sep 17 00:00:00 2001 From: Anne-Cath Date: Thu, 31 Jul 2025 17:09:05 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B08189=20-=20Addons=20userrights=20-=20one?= =?UTF-8?q?=20is=20enough=20-=20deprecate=20other=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../userrights/userrightsmatrix.class.inc.php | 21 +++---------------- .../userrights/userrightsnull.class.inc.php | 19 ++--------------- .../userrightsprofile.db.class.inc.php | 20 +++++------------- .../userrightsprojection.class.inc.php | 20 ++++++------------ 4 files changed, 16 insertions(+), 64 deletions(-) diff --git a/addons/userrights/userrightsmatrix.class.inc.php b/addons/userrights/userrightsmatrix.class.inc.php index acc9fe33e..0811f65c5 100644 --- a/addons/userrights/userrightsmatrix.class.inc.php +++ b/addons/userrights/userrightsmatrix.class.inc.php @@ -1,29 +1,14 @@ /** * UserRightsMatrix (User management Module) * - * @copyright Copyright (C) 2010-2024 Combodo SAS + * @deprecated 3.3.0 * @license http://opensource.org/licenses/AGPL-3.0 + * @copyright Copyright (C) 2010-2024 Combodo SAS */ - +DeprecatedCallsLog::NotifyDeprecatedPhpMethod('use file addons/userrights/userrightsprofile.class.inc.php instead (param in configuration file)'); class UserRightsMatrixClassGrant extends DBObject { public static function Init() diff --git a/addons/userrights/userrightsnull.class.inc.php b/addons/userrights/userrightsnull.class.inc.php index 5cfcee2ab..59aa603e5 100644 --- a/addons/userrights/userrightsnull.class.inc.php +++ b/addons/userrights/userrightsnull.class.inc.php @@ -1,29 +1,14 @@ /** * UserRightsNull * User management Module - say Yeah! to everything * + * @deprecated 3.3.0 * @copyright Copyright (C) 2010-2024 Combodo SAS * @license http://opensource.org/licenses/AGPL-3.0 */ - +DeprecatedCallsLog::NotifyDeprecatedPhpMethod('use file addons/userrights/userrightsprofile.class.inc.php instead (param in configuration file)'); class UserRightsNull extends UserRightsAddOnAPI { // Installation: create the very first user diff --git a/addons/userrights/userrightsprofile.db.class.inc.php b/addons/userrights/userrightsprofile.db.class.inc.php index 16551a4ea..a173a73fc 100644 --- a/addons/userrights/userrightsprofile.db.class.inc.php +++ b/addons/userrights/userrightsprofile.db.class.inc.php @@ -1,26 +1,17 @@ diff --git a/addons/userrights/userrightsprojection.class.inc.php b/addons/userrights/userrightsprojection.class.inc.php index 52e90e341..529ee5adc 100644 --- a/addons/userrights/userrightsprojection.class.inc.php +++ b/addons/userrights/userrightsprojection.class.inc.php @@ -1,25 +1,17 @@