• Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/classes/general/vi_user.php
  • Класс: CVoxImplantUser
  • Вызов: CVoxImplantUser::clearCache
static function clearCache($userId = 0)
{
	$userId = (int)$userId;
	$cache = BitrixMainApplication::getInstance()->getManagedCache();
	if($userId > 0)
	{
		$cache->clean(self::$cacheTag.$userId, self::$cacheTable);
		$cache->clean(self::$cacheTagAllowedLines.$userId, self::$cacheTable);
	}
	else
	{
		$cache->cleanDir(self::$cacheTable);
	}
}