Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make getLink work
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Aug 25, 2021
commit 259030a8d78fbb61a1114c44894298f384c34b53
4 changes: 1 addition & 3 deletions lib/Model/FederatedUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,7 @@ public function getMemberships(): array {
* @throws RequestBuilderException
*/
public function getLink(string $singleId, bool $detailed = false): Membership {
$this->getManager()->getLink($this, $singleId, $detailed);

throw new MembershipNotFoundException();
return $this->getManager()->getLink($this, $singleId, $detailed);
}


Expand Down