Skip to content

Commit

Permalink
Update lib/Service/TableService.php
Browse files Browse the repository at this point in the history
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian <florian.steffens@nextcloud.com>
  • Loading branch information
Florian and juliusknorr authored Sep 8, 2023
1 parent f1654b4 commit 6aa2031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/TableService.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public function setOwner(int $id, string $newOwnerUserId, ?string $userId = null
$table->setOwnership($newOwnerUserId);
$table = $this->mapper->update($table);

# also change owners of related shares
// also change owners of related shares
$updatedShares = $this->shareService->changeSenderForNode('table', $id, $newOwnerUserId, $userId);
$updatesSharesOutput = [];
foreach ($updatedShares as $share) {
Expand Down

0 comments on commit 6aa2031

Please sign in to comment.