Merge branch 'w34_MDL-34956_m24_pluginlibregression' of git://github.com/skodak/moodle

This commit is contained in:
Dan Poltawski 2012-08-20 15:56:41 +08:00
commit 328e4d280c

View File

@ -148,7 +148,7 @@ class plugin_manager {
if ($disablecache or is_null($this->subpluginsinfo)) {
$this->subpluginsinfo = array();
foreach (array('mod', 'editor') as $type) {
$owners = get_plugin_list('type');
$owners = get_plugin_list($type);
foreach ($owners as $component => $ownerdir) {
$componentsubplugins = array();
if (file_exists($ownerdir . '/db/subplugins.php')) {