• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/bitrix24disk/legacy/diskstorage.php
  • Класс: BitrixDiskBitrix24DiskLegacyDiskStorage
  • Вызов: DiskStorage::loadSharedData
protected function loadSharedData()
{
	if($this->isLoadedSharedStatuses)
	{
		return;
	}

	$cache = DataCache::createInstance();
	if($cache->initCache(15768000, 'storage_isshared_' . $this->storage->getId(), 'disk'))
	{
		[$this->sharedData,] = $cache->getVars();
	}
	else
	{
		$this->buildSharedData();

		$cache->startDataCache();
		$cache->endDataCache(array($this->sharedData,));
	}

	$this->isLoadedSharedStatuses = true;
}