diff options
author | Louis Chemineau <louis@chmn.me> | 2022-06-23 16:32:52 +0200 |
---|---|---|
committer | Louis (Rebase PR Action) <artonge@users.noreply.github.com> | 2022-07-26 12:17:46 +0000 |
commit | f52506793083d44674586257eadb230d02b15bba (patch) | |
tree | e35095be933f48a86d43a86cb48175c645c3bf00 /apps/files_sharing | |
parent | 256ed34b7e4a3b151f7d94c5be22628e4872757a (diff) | |
download | nextcloud-server-f52506793083d44674586257eadb230d02b15bba.tar.gz nextcloud-server-f52506793083d44674586257eadb230d02b15bba.zip |
Add argument to getSharesInFolder enable deep share lookup
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/Updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Updater.php b/apps/files_sharing/lib/Updater.php index 071d4d3cca9..59e06e60299 100644 --- a/apps/files_sharing/lib/Updater.php +++ b/apps/files_sharing/lib/Updater.php @@ -69,7 +69,7 @@ class Updater { $shares = array_merge($shares, $shareManager->getSharesBy($userFolder->getOwner()->getUID(), IShare::TYPE_ROOM, $src, false, -1)); if ($src instanceof Folder) { - $subShares = $shareManager->getSharesInFolderRecursive($userFolder->getOwner()->getUID(), $src, false); + $subShares = $shareManager->getSharesInFolder($userFolder->getOwner()->getUID(), $src, false, false); foreach ($subShares as $subShare) { $shares = array_merge($shares, array_values($subShare)); } |