Skip to content

Commit 2c71529

Browse files
authored
Merge pull request #2570 from ksteinb/patch-1
Update ApplicationLegacy.php
2 parents c2cbf00 + ad84701 commit 2c71529

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/AppInfo/ApplicationLegacy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ private function registerUserGroupHooks(): void {
114114
}
115115
// delete existing user assignments
116116
$assignmentMapper = $container->query(AssignmentMapper::class);
117-
$assignments = $assignmentMapper->findByUserId($user->getUID());
117+
$assignments = $assignmentMapper->findByParticipant($user->getUID());
118118
foreach ($assignments as $assignment) {
119119
$assignmentMapper->delete($assignment);
120120
}

0 commit comments

Comments
 (0)