Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-12979

Get_course_users in Forum/lib.php causes lots of incorrect e-mail subscriptions.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9
    • 1.9
    • Forum, Libraries
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      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!

            danmarsden Dan Marsden
            danmarsden Dan Marsden
            Tim Hunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.