1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
UserUpdateEventListener.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
5namespace Bitrix\Socialnetwork\Collab\Onboarding\Event\Type;
6
7use Bitrix\Main\EventResult;
8
10{
12 {
13 $eventResult = new EventResult(EventResult::SUCCESS);
14
15 $userId = (int)($data['ID'] ?? 0);
16 if ($userId <= 0)
17 {
18 return $eventResult;
19 }
20
21 $isFired = ($data['ACTIVE'] ?? '') === 'N';
22
23 if ($isFired)
24 {
25 $this->queueService->deleteByUserIds($userId);
26 }
27
28 return $eventResult;
29 }
30}
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
$data['IS_AVAILABLE']
Определения .description.php:13
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804