N°2363 - API : deprecate old linkedset update pattern

This commit is contained in:
acognet
2022-05-09 10:53:53 +02:00
parent 7598b9e29a
commit 0a5411d411
4 changed files with 14 additions and 27 deletions

View File

@@ -131,10 +131,6 @@ class LoginWebPage extends NiceWebPage
//add profiles not already linked with user
foreach ($aProfiles as $iProfileId)
{
$oLink = new URP_UserProfile();
$oLink->Set('profileid', $iProfileId);
$oLink->Set('reason', $sOrigin);
$oProfilesSet->AddItem(MetaModel::NewObject('URP_UserProfile', array('profileid' => $iProfileId, 'reason' => $sOrigin)));
}
$oUser->Set('profile_list', $oProfilesSet);