]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15241 fixed plugin test
authorskodak <skodak>
Mon, 16 Jun 2008 11:34:19 +0000 (11:34 +0000)
committerskodak <skodak>
Mon, 16 Jun 2008 11:34:19 +0000 (11:34 +0000)
lib/adminlib.php

index 6a1a87b045c04912f408a698e8220f6017f9f745..29dcfd428a47e2f39c44854b7e4baa08e5574ecc 100644 (file)
@@ -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;