Метод cleanupGuestAfterUserDelete
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
4116–4132
~/bitrix/modulesim/lib/V2/Chat.php
Исходный код
Сигнатура метода
protected function cleanupGuestAfterUserDelete(int $userId, DeleteUserConfig $config): void
Возвращает:
void
Описание
Guest-link side effects of a member removal: drop the user's bindings, optionally block re-entry via the kicker's links, revoke the leaver's authored links, tear the guest session down when no valid access remains. Harmless for plain members.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|
$config
|
DeleteUserConfig
|
-
|
-
|