• Модуль: intranet
  • Путь к файлу: ~/bitrix/modules/intranet/lib/component/userprofile.php
  • Класс: BitrixIntranetComponentUserProfile
  • Вызов: UserProfile::setWhiteListOption
static function setWhiteListOption(array $value = [])
{
	$optionValue = self::getWhiteListOption();
	$diff1 = array_diff($value, $optionValue);
	$diff2 = array_diff($optionValue, $value);
	if (
		!empty($diff1)
		|| !empty($diff2)
	)
	{
		Option::set('intranet', 'user_profile_whitelist', serialize($value), SITE_ID);
	}
}