Moodle
  1. Moodle
  2. MDL-23348

Typo fix in the doc block for group/lib.php function groups_add_member()

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.9.9
    • Fix Version/s: None
    • Component/s: Groups
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      6146

      Description

      Just need to change order of params in doc block to match function signature. Only a problem for folks who trust the pop-up info from their IDEs, e.g. Zend Studio, and don't verify the function argument order.

      Lines 18,19 should go:

      • @param int $groupid The group id
      • @param int $userid The user id

        Issue Links

          Activity

          Hide
          Dan Poltawski added a comment -

          Thanks for the report.

          Looks like this was fixed by MDL-30997, closing.

          Show
          Dan Poltawski added a comment - Thanks for the report. Looks like this was fixed by MDL-30997 , closing.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: