Permalink
Browse files

MDL-30392 DML - Fix old-style delete_records() call

  • Loading branch information...
1 parent cf04ce3 commit 7c0df73abb67f10f5f18ca7be06e5d6d2344fcd2 @stronk7 stronk7 committed Nov 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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() {

0 comments on commit 7c0df73

Please sign in to comment.