nextcloud/lib/private/legacy
Ferdinand Thiessen 29fc48e083
fix(OC_Helper): properly calculate quota of shared storages
- resolves https://github.com/nextcloud/server/issues/55659

First we need to properly handle shared storages,
because there the quota is the quota of the user who owns the nodes,
not the user who shared the nodes.

Second if no user can be fetched then we cannot get the global storage
info, thus in this case (public share?) we need to safe-guard.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-05-19 13:27:08 +02:00
..
OC_App.php refactor: migrate usage of OC_App to AppManager 2026-05-13 14:01:49 +02:00
OC_Defaults.php refactor: Run rector on lib/private 2026-02-06 13:50:18 +01:00
OC_Helper.php fix(OC_Helper): properly calculate quota of shared storages 2026-05-19 13:27:08 +02:00
OC_Hook.php refactor: Run rector on lib/private 2026-02-06 13:50:18 +01:00
OC_Template.php refactor: Run rector on lib/private 2026-02-06 13:50:18 +01:00
OC_User.php refactor: migrate usage of OC_App to AppManager 2026-05-13 14:01:49 +02:00
OC_Util.php refactor: Delete deprecated code from OC_Util 2026-05-12 18:24:12 +02:00