From: skodak Date: Mon, 16 Jun 2008 11:34:19 +0000 (+0000) Subject: MDL-15241 fixed plugin test X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4787c6eb244d3490b09d9ae68b6dca37448ba4c2;p=moodle.git MDL-15241 fixed plugin test --- diff --git a/lib/adminlib.php b/lib/adminlib.php index 6a1a87b045..29dcfd428a 100644 --- a/lib/adminlib.php +++ b/lib/adminlib.php @@ -4755,8 +4755,8 @@ function print_plugin_tables() { 'tidy'); $plugins_installed = array(); - $installed_mods = $DB->get_records_list('modules', '', null, '', 'name'); - $installed_blocks = $DB->get_records_list('block', '', null, '', 'name'); + $installed_mods = $DB->get_records('modules', null, 'name'); + $installed_blocks = $DB->get_records('block', null, 'name'); foreach($installed_mods as $mod) { $plugins_installed['mod'][] = $mod->name;