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

Incorrect parameter documentation in update_capabilities function

XMLWordPrintable

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

      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'

            mchurch Mike Churchward
            mchurch Mike Churchward
            Jan Dageförde Jan Dageförde
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.