mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +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>