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

This commit is contained in:
Eloy Lafuente (stronk7)
2011-11-22 00:43:57 +01:00
parent cf04ce3a50
commit 7c0df73abb
+1 -1
View File
@@ -155,7 +155,7 @@ class block_section_links extends block_base {
}
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() {