MDL-34956 fix recent plugin parent fetching regression

This commit is contained in:
Petr Škoda
2012-08-18 21:52:44 +02:00
parent c92d6f417c
commit e197d9a457
+1 -1
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')) {