Метод onFeatureDisabled

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 379–383
~/bitrix/modulesim/lib/V2/Guest/GuestLinkService.php

Исходный код

PHP
private

Сигнатура метода

private function onFeatureDisabled(): void

Возвращает: void

Описание

Kill-switch: push userLogout to all active guests, sever their sessions, pull channels and push tokens, defer the bulk revoke to a one-shot agent. Security holds meanwhile via the lazy feature check; the guests themselves are deactivated later by the periodic {@see CleanupService} sweep.