-
Bug
-
Resolution: Fixed
-
Minor
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-58114-master-excparams -
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
|