MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ function get_texteditor($editorname) {
|
||||
*/
|
||||
function get_available_editors() {
|
||||
$editors = array();
|
||||
foreach (get_list_of_plugins('lib/editor') as $editorname) {
|
||||
foreach (get_plugin_list('editor') as $editorname => $dir) {
|
||||
$editors[$editorname] = get_string('modulename', 'editor_'.$editorname);
|
||||
}
|
||||
return $editors;
|
||||
|
||||
Reference in New Issue
Block a user