This repository has been archived by the owner on May 7, 2020. It is now read-only.
forked from emmarichardson/local_autogroup
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e674152
commit 0b29541
Showing
3 changed files
with
33 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0b29541
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moodle handles course groups and forum groups separately. If a group doesn’t have any members, Autogroup will delete the course group but it does not delete/update the groups associated with forum posts. As a result, these forum posts associated with the old groups will point to groups that no longer exist.
Now, when it changes user's group, it also changes groups of topics, where author is this user and topic's group is his old group - to user new group.