From 88c19e66244296b9cbabf1292ea3f27c04a6a337 Mon Sep 17 00:00:00 2001 From: Anne-Cath Date: Tue, 30 Sep 2025 10:40:31 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02364=20-=20API=20:=20remove=20old=20link?= =?UTF-8?q?edset=20persistance=20(#733)=20-=20deprecated=20message=20only?= =?UTF-8?q?=20on=20console=20and=20portal=20context.=20Avoid=20messages=20?= =?UTF-8?q?during=20tests,=20setup=20and=20other=20case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/ormlinkset.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ormlinkset.class.inc.php b/core/ormlinkset.class.inc.php index 872b6e3bf..ded790761 100644 --- a/core/ormlinkset.class.inc.php +++ b/core/ormlinkset.class.inc.php @@ -521,7 +521,7 @@ class ormLinkSet implements iDBObjectSetIterator, Iterator, SeekableIterator * $oCISet->RemoveItem(123456); * $oTicket->Set(‘functionalcis_list’, $oCISet); */ - if (!ContextTag::Check(ContextTag::TAG_SETUP)) { + if (ContextTag::Check(ContextTag::TAG_PORTAL) || ContextTag::Check(ContextTag::TAG_CONSOLE) ) { DeprecatedCallsLog::NotifyDeprecatedPhpMethod('old pattern - please get previous value of the linked set, modify it and set it back to the host object'); } }