Skip to content

Commit ce6c693

Browse files
committed
fixup! Cleanup and do not list current user shares in getShares too
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 parent bf6209c commit ce6c693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/Controller/ShareAPIController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ private function getAllShares($path = null, $reshares = false) {
13131313
if ($this->shareManager->shareProviderExists(Share::SHARE_TYPE_ROOM)) {
13141314
$roomShares = $this->shareManager->getSharesBy($this->currentUser, Share::SHARE_TYPE_ROOM, $path, $reshares, -1, 0);
13151315
} else {
1316-
$circleShares = [];
1316+
$roomShares = [];
13171317
}
13181318

13191319
// FEDERATION

0 commit comments

Comments
 (0)