MDL-83282 core: Remove most reference to Atto
Some references can remain, and others should remain until we drop support for YUI, or Atto is no longer supported in the plugins database. Note: Some reference to Atto will remain until such a time as it is no longer possible to support the editor via the plugins database.
This commit is contained in:
@@ -41,10 +41,13 @@ class editor extends base {
|
||||
global $CFG;
|
||||
|
||||
if (empty($CFG->texteditors)) {
|
||||
return array('atto'=>'atto', 'tinymce'=>'tinymce', 'textarea'=>'textarea');
|
||||
return [
|
||||
'tiny' => 'tiny',
|
||||
'textarea' => 'textarea',
|
||||
];
|
||||
}
|
||||
|
||||
$enabled = array();
|
||||
$enabled = [];
|
||||
foreach (explode(',', $CFG->texteditors) as $editor) {
|
||||
$enabled[$editor] = $editor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user