MDL-40220 use new core_component::get_plugin_list()
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ function get_texteditor($editorname) {
|
||||
*/
|
||||
function editors_get_available() {
|
||||
$editors = array();
|
||||
foreach (get_plugin_list('editor') as $editorname => $dir) {
|
||||
foreach (core_component::get_plugin_list('editor') as $editorname => $dir) {
|
||||
$editors[$editorname] = get_string('pluginname', 'editor_'.$editorname);
|
||||
}
|
||||
return $editors;
|
||||
|
||||
Reference in New Issue
Block a user