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 Improvement
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      32879

      Description

      currently get_role_users does, but count_role_users doesn't.

        Activity

        Hide
        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
        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
        Petr Škoda added a comment -

        reviewed, thanks

        Show
        Petr Škoda added a comment - reviewed, thanks

          People

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

            Dates

            • Created:
              Updated:
              Resolved: