mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
First check which users have a shares and for which providers and then only load these shares. Avoid doing at most 5 SQL queries for each users a share was shared with if there are no shares. Signed-off-by: Carl Schwan <carlschwan@kde.org>