mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-15241 fixed plugin test
This commit is contained in:
parent
12ad6ebaa8
commit
4787c6eb24
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user