#53702FAL fetches storages twice on every BE request
Description
FAL fetches the storages twice on every request.
SELECT COUNT(uid) FROM sys_file_storage WHERE 1=1;
SELECT * FROM sys_file_storage WHERE 1=1 AND sys_file_storage.hidden=0 AND sys_file_storage.deleted=0;
StorageRepository->findAll() tries to detect if there’s ever been a storage, and if not so it creates one for /fileadmin.
Maybe this can be optimized somehow to have only one DB access.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.