clearContextUserId
Rights::clearContextUserId( );
Method clears a context user, set by the method Rights::setContextUserId. Method doesn't have parameters.
Example
if (\Bitrix\Main\Loader::includeModule('landing')) { \Bitrix\Landing\Rights::clearContextUserId(); }
© «Bitrix24», 2001-2024