Skip to content
Snippets Groups Projects
Commit 74ee0918 authored by Florian Gnaegi - frentix GmbH's avatar Florian Gnaegi - frentix GmbH
Browse files

OO-428 fix NPE when removing coach duplicats

parent 32e27521
No related branches found
No related tags found
No related merge requests found
......@@ -1444,7 +1444,7 @@ public class BusinessGroupServiceImpl implements BusinessGroupService, UserDataD
List<Identity> ownerList = securityManager.getIdentitiesOfSecurityGroups(ownerSecGroups);
repoTutorList.retainAll(ownerList);
if(!dryRun) {
repositoryManager.removeTutors(null, repoTutorList, entry);
repositoryManager.removeTutors(ureqIdentity, repoTutorList, entry);
}
count += repoTutorList.size();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment