Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6244

get_possible_attendees() returns suspended users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.1
    • Component/s: Module: Scheduler
    • Labels:
      None
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE

      Description

      If there are suspended users in a course, they will show up in the teacher view when viewing a schedule activity.

      This is because get_possible_attendees() calls get_users_by_capability(), which can return suspended users.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16