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

make sure count_role_users and get_role_users both take int or array of ints for roleid

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3, 2.0
    • Fix Version/s: 1.9.4, 2.0
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      currently get_role_users does, but count_role_users doesn't.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            mjollnir Penny Leach added a comment -

            resolved in HEAD and 19_STABLE (slightly different patches because of $DB changes - I copied get_role_users in HEAD's approach for consistency).

            Show
            mjollnir Penny Leach added a comment - resolved in HEAD and 19_STABLE (slightly different patches because of $DB changes - I copied get_role_users in HEAD's approach for consistency).
            Hide
            skodak Petr Skoda added a comment -

            reviewed, thanks

            Show
            skodak Petr Skoda added a comment - reviewed, thanks

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Jan/09