Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-30392_20' of git://github.com/stronk7/moodle into M…

…OODLE_20_STABLE
  • Loading branch information...
commit 63526f3e9be473b658888becc7a5707025cf8f54 2 parents cf4b349 + 2f4fe2f
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  blocks/section_links/block_section_links.php
View
2  blocks/section_links/block_section_links.php
@@ -155,7 +155,7 @@ function instance_allow_config() {
}
function before_delete() {
global $DB;
- $DB->delete_records('config_plugins', 'plugin', 'blocks/section_links');
+ $DB->delete_records('config_plugins', array('plugin' => 'blocks/section_links'));
}
function has_config() {
Please sign in to comment.
Something went wrong with that request. Please try again.