-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.6, 3.8.3, 3.9, 3.10
-
MOODLE_310_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_38_STABLE
-
MDL-68866-master -
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'