• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/session/handlers/abstractsessionhandler.php
  • Класс: BitrixMainSessionHandlersAbstractSessionHandler
  • Вызов: AbstractSessionHandler::destroy
public function destroy($sessionId): bool
{
	if ($this->readOnly)
	{
		return true;
	}

	if (!$this->validateSessionId($sessionId))
	{
		return false;
	}

	$result = $this->processDestroy($sessionId);
	$this->lastCreatedId = null;

	return $result;
}