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

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

    Details

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

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              poltawski Dan Poltawski added a comment -

              Thanks for the report.

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

              Show
              poltawski 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: