• Модуль: socialservices
  • Путь к файлу: ~/bitrix/modules/socialservices/classes/general/google.php
  • Класс: CGoogleOAuthInterface
  • Вызов: CGoogleOAuthInterface::checkSavedScope
protected function checkSavedScope()
{
	$savedScope = BitrixMainConfigOption::get('socialservices', 'saved_scope_'.static::SERVICE_ID, '');
	if($savedScope)
	{
		$savedScope = unserialize($savedScope, ['allowed_classes' => false]);
		if(is_array($savedScope))
		{
			$this->scope = array_merge($this->scope, $savedScope);
		}
	}
}