-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.14
-
MOODLE_31_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-64790-master_apidoc_fix -
- Do a sanity check
Commit 17da2e6f28d3477eb4ccfe5ac94c9cebb8456c8e (fix for MDL-16438) contains changes to function upgrade_plugin_savepoint in lib/upgradelib.php. These changes rename parameter $dir of the function to $plugin. The API documentation (PHPDoc comment block above the function) has not been changed accordingly. Result: it still lists the old parameter $dir, which is wrong.
How to fix
Rename ‘$dir’ to ‘$plugin’ in PHPDoc comment for function upgrade_plugin_savepoint in lib/upgradelib.php.
Note: should also update the @param comment text so that it is more meaningful to developers (it should perhaps not refer to the location of the plugin, but to its name or so).
- is a regression caused by
-
MDL-16438 centralise information about plugins to avoid duplication
-
- Closed
-