Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.2
-
Component/s: Libraries
-
Testing Instructions:
-
Affected Branches:MOODLE_32_STABLE
-
Fixed Branches:MOODLE_31_STABLE, MOODLE_32_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-58114-master-excparams -
Pull Master Diff URL:
Description
In the method core_plugin_manager::remove_plugin_folder() the exception is thrown if the plugin folder is not removable. There is a typo - the 4th argument of the moodle_exception constructor must be populated with $plugin values, and not $pluginfo.
I ran into this when developing a custom script. When the exception was thrown, I got
Notice: Undefined variable: pluginfo in .../lib/classes/plugin_manager.php on line 1958
|