Skip to content

Commit 4f8173e

Browse files
Merge pull request #62926 from nextcloud/fix/stable30-files_sharing-psalm
[stable30] chore(psalm): use full qualified class name for Circles
2 parents 663d8ff + 6f82799 commit 4f8173e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/files_sharing/lib/Controller/ShareAPIController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,8 @@ protected function canAccessShare(\OCP\Share\IShare $share, bool $checkGroups =
15231523
$sharedWith = substr($share->getSharedWith(), $shareWithStart, $shareWithLength);
15241524
}
15251525
try {
1526-
$member = Circles::getMember($sharedWith, $this->userId, 1);
1526+
1527+
$member = \OCA\Circles\Api\v1\Circles::getMember($sharedWith, $this->userId, 1);
15271528
if ($member->getLevel() >= 1) {
15281529
return true;
15291530
}

0 commit comments

Comments
 (0)