From e197d9a457b11cfa9e783b8fd1efa557234cf6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20S=CC=8Ckoda?= Date: Sat, 18 Aug 2012 18:56:17 +0200 Subject: [PATCH] MDL-34956 fix recent plugin parent fetching regression --- lib/pluginlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pluginlib.php b/lib/pluginlib.php index fcca051e05e..1cde01d6854 100644 --- a/lib/pluginlib.php +++ b/lib/pluginlib.php @@ -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')) {