From fa5cad0fdb14f64099d7d9cb0f2ca1e1ce3a2cd3 Mon Sep 17 00:00:00 2001 From: Anne-Cath Date: Mon, 22 Sep 2025 12:02:28 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02364=20-=20API=20:=20remove=20old=20link?= =?UTF-8?q?edset=20persistance=20-=20avoid=20deprecated=20message=20during?= =?UTF-8?q?=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/ormlinkset.class.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/ormlinkset.class.inc.php b/core/ormlinkset.class.inc.php index e1c80a040..872b6e3bf 100644 --- a/core/ormlinkset.class.inc.php +++ b/core/ormlinkset.class.inc.php @@ -521,7 +521,9 @@ class ormLinkSet implements iDBObjectSetIterator, Iterator, SeekableIterator * $oCISet->RemoveItem(123456); * $oTicket->Set(‘functionalcis_list’, $oCISet); */ - DeprecatedCallsLog::NotifyDeprecatedPhpMethod('old pattern - please get previous value of the linked set, modify it and set it back to the host object'); + if (!ContextTag::Check(ContextTag::TAG_SETUP)) { + DeprecatedCallsLog::NotifyDeprecatedPhpMethod('old pattern - please get previous value of the linked set, modify it and set it back to the host object'); + } } if ($bUpdateFromDelta)