Details
Description
Line 1921 of forum/lib.php the call:
$results = get_course_users($course->id); // Otherwise get everyone in the course
returns an invalid list of users, which it uses to send out new forum postings, and unrelated users end up getting forum postings.
IMO Get_course_users is completely broken... it seems to return way too many results!
Issue Links
| This issue will help resolve: | ||||
| MDL-10163 | issue with forums subscriptions and moodle/course:view |
|
|
|
should be replaced with something that calls get_users_by _capability - my guess is maybe using 'mod/forum:initialsubscriptions'
Dan