From 4787c6eb244d3490b09d9ae68b6dca37448ba4c2 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 16 Jun 2008 11:34:19 +0000 Subject: [PATCH] MDL-15241 fixed plugin test --- lib/adminlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5