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

Incorrect parameter documentation in update_capabilities function

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.7.6, 3.8.3, 3.9, 3.10
    • 3.8.4
    • Roles / Access

    Description

      The accesslib.php::update_capabilities() function defines the $component parameter as:

      @param string $component examples: 'moodle', 'mod/forum', 'block/quiz_results'

      But the parameter should really use the Moodle frankenstyle of component. Change the documentation to read:

      @param string $component examples: 'moodle', 'mod_forum', 'block_quiz_results'

      Attachments

        Activity

          People

            mchurch Mike Churchward
            mchurch Mike Churchward
            Jan Dageförde Jan Dageförde
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Nobody Nobody
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Jul/20

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 minutes
                6m