• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/googleapipush.php
  • Класс: BitrixCalendarSyncGoogleApiPush
  • Вызов: GoogleApiPush::isAuthError
static function isAuthError(string $lastResult = null): bool
{
	return !empty($lastResult) && preg_match("/^[(401)][a-z0-9 _]*/i", $lastResult);
}