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
@@ -2460,7 +2460,7 @@ abstract class plugininfo_base {
public static function get_plugins($type, $typerootdir, $typeclass) {
// get the information about plugins at the disk
$plugins = get_plugin_list($type);
$plugins = core_component::get_plugin_list($type);
$ondisk = array();
foreach ($plugins as $pluginname => $pluginrootdir) {
$ondisk[$pluginname] = plugininfo_default_factory::make($type, $typerootdir,