summaryrefslogtreecommitdiffstats
path: root/apps/files_external/personal.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-12 14:22:27 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-19 10:05:11 +0100
commita6a69ef1dfe1545e1362953803219ed6f28f71a5 (patch)
tree9c3c76b5c66f1fc83d843699c1878a825c18e52d /apps/files_external/personal.php
parent37beb58c6f395523d8e2934870c5f52a8c6f6df0 (diff)
downloadnextcloud-server-a6a69ef1dfe1545e1362953803219ed6f28f71a5.tar.gz
nextcloud-server-a6a69ef1dfe1545e1362953803219ed6f28f71a5.zip
Introduce UserGlobalStoragesService
UserGlobalStoragesService reads the global storage configuration, cherry-picking storages applicable to a user. Writing storages through this service is forbidden, on punishment of throwing an exception. Storage IDs may also be config hashes when retrieved from this service, as it is unable to update the storages with real IDs. As UserGlobalStoragesService and UserStoragesService share a bit of code relating to users, that has been split into UserTrait. UserTrait also allows for the user set to be overridden, rather than using the user from IUserSession. Config\ConfigAdapter has been reworked to use UserStoragesService and UserGlobalStoragesService instead of OC_Mount_Config::getAbsoluteMountPoints(), further reducing dependance on that horrible static class.
Diffstat (limited to 'apps/files_external/personal.php')
0 files changed, 0 insertions, 0 deletions