3declare(strict_types=1);
5namespace Bitrix\Socialnetwork\Collab\Control\Handler\Trait;
7use Bitrix\Main\DI\ServiceLocator;
8use Bitrix\Socialnetwork\Collab\Log\CollabLogEntryCollection;
9use Bitrix\Socialnetwork\Collab\Log\Entry\ChangeCollabMemberRoleLogEntry;
10use Bitrix\Socialnetwork\Control\Handler\HandlerResult;
12trait UpdateMemberRoleLogTrait
20 return $handlerResult;
28 $logEntry->setNewRole($newRole);
31 $logEntryCollection->add($logEntry);
34 $service = ServiceLocator::getInstance()->get(
'socialnetwork.collab.log.service');
35 $service->saveCollection($logEntryCollection);
37 return $handlerResult;
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)