From e9aff0f77682c0aaef94481882cb86de3c5a7b17 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 1 May 2023 16:41:28 +0200 Subject: [PATCH] Fix qodana warning --- htdocs/api/class/api.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/api/class/api.class.php b/htdocs/api/class/api.class.php index c59bb56a8f8..bfe6c0e3b39 100644 --- a/htdocs/api/class/api.class.php +++ b/htdocs/api/class/api.class.php @@ -278,7 +278,6 @@ class DolibarrApi * @param string $dbt_keyfield Field name for socid foreign key if not fk_soc. Not used if objectid is null (optional) * @param string $dbt_select Field name for select if not rowid. Not used if objectid is null (optional) * @return bool - * @throws RestException */ protected static function _checkAccessToResource($resource, $resource_id = 0, $dbtablename = '', $feature2 = '', $dbt_keyfield = 'fk_soc', $dbt_select = 'rowid') {