Deprecate / remove global FILEMOUNTS variable
As far as I can see the filemounts of a user are currently loaded on every request in the Backend, see
\TYPO3\CMS\Core\Core\Bootstrap::getInstance() ... ->initializeBackendUserMounts() ...
I think it would be better to simply use BackendUserAuthentication->getFileStorages() which loads the storages whenever they are required.
What do you think? What would be the procedure of deprecating the global variables?