MDL-40220 use new core_component::get_plugin_list()

This commit is contained in:
Petr Škoda
2013-07-16 22:36:11 +02:00
parent 46f6f7f224
commit bd3b3bba9f
87 changed files with 147 additions and 147 deletions
+1 -1
View File
@@ -1665,7 +1665,7 @@ class YUI_config {
// And finally the plugins.
$plugintypes = core_component::get_plugin_types();
foreach ($plugintypes as $plugintype => $pathroot) {
$pluginlist = get_plugin_list($plugintype);
$pluginlist = core_component::get_plugin_list($plugintype);
foreach ($pluginlist as $plugin => $path) {
if ($module = $this->get_moodle_path_metadata($path)) {
$moodlemodules = array_merge($moodlemodules, $module);