Permalink
Browse files

Merge branch 'MDL-28723-plugin-tables_19_STABLE' of git://github.com/…

…mudrd8mz/moodle into MOODLE_19_STABLE
  • Loading branch information...
2 parents e832010 + 1824a69 commit d87ea7704dd754ef64bf4ee5e9b1050af064c569 @nebgor nebgor committed Aug 23, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/adminlib.php
View
@@ -4942,14 +4942,18 @@ function print_plugin_tables() {
$installed_mods = get_records_list('modules', '', '', '', 'name');
$installed_blocks = get_records_list('block', '', '', '', 'name');
+ $plugins_installed['mod'] = array();
foreach($installed_mods as $mod) {
$plugins_installed['mod'][] = $mod->name;
}
+ $plugins_installed['blocks'] = array();
foreach($installed_blocks as $block) {
$plugins_installed['blocks'][] = $block->name;
}
+ $plugins_installed['filter'] = array();
+
$plugins_ondisk = array();
$plugins_ondisk['mod'] = get_list_of_plugins('mod', 'db');
$plugins_ondisk['blocks'] = get_list_of_plugins('blocks', 'db');

0 comments on commit d87ea77

Please sign in to comment.