MDL-40220 use new core_component::get_plugin_list_with_class()

This commit is contained in:
Petr Škoda
2013-07-16 22:37:15 +02:00
parent bd3b3bba9f
commit 059e08ed92
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1232,7 +1232,7 @@ function get_import_export_formats($type) {
global $CFG;
require_once($CFG->dirroot . '/question/format.php');
$formatclasses = get_plugin_list_with_class('qformat', '', 'format.php');
$formatclasses = core_component::get_plugin_list_with_class('qformat', '', 'format.php');
$fileformatname = array();
foreach ($formatclasses as $component => $formatclass) {