Deprecation: #110762 - ResourceStorage->getStorageRecord() 

See forge#110762

Description 

File storages are configured in config/system/file-storages.yaml instead of the database table sys_file_storage , see Breaking: #110762 - File storages are configured in a file instead of the database. The method \TYPO3\CMS\Core\Resource\ResourceStorage->getStorageRecord() returned the database row of the storage. It has been deprecated and now returns an array in the shape of the former row, mapped from the configuration, so that existing code keeps working for one major version.

Impact 

Calling the method triggers a PHP E_USER_DEPRECATED error. The extension scanner reports usages.

Affected installations 

Installations with extensions calling getStorageRecord() , for example to read is_public , processingfolder or the driver configuration of a storage.

Migration 

Use the getters of ResourceStorage instead: getUid() , getName() , getDriverType() , isDefault() , isBrowsable() , isPublic() , isWritable() , isOnline() , autoExtractMetadataEnabled() , getProcessingFolder() and getConfiguration() for the driver options. The normalized definition of a storage is also available from \TYPO3\CMS\Core\Resource\Configuration\FileStorageConfiguration->get() .