-
Bug
-
Resolution: Fixed
-
Minor
-
2.0.5, 2.1.2, 2.2
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
Easy
-
Apart from any other consideration (I could make a bunch related to that block, grrr), I was testing MDL-30327, and when uninstalling the block I got:
Debug info: Argument 2 passed to moodle_database::delete_records()
|
must be an array, string given, called in blocks/section_links/block_section_links.php
|
on line 158 and defined
|
Stack trace:
|
line 365 of /lib/setuplib.php: coding_exception thrown
|
line 1609 of /lib/dml/moodle_database.php: call to default_error_handler()
|
line 158 of /blocks/section_links/block_section_links.php: call to moodle_database->delete_records()
|
line 255 of /lib/adminlib.php: call to block_section_links->before_delete()
|
line 101 of /admin/blocks.php: call to uninstall_plugin()
|
Going to fix it now, it's only a matter of M2 API not being used.
- Testing discovered
-
MDL-30327 Block removal should have automatically remove 'config_plugins' settings
- Closed