Merge branch 'MDL-58707-master' of git://github.com/jleyva/moodle

This commit is contained in:
Andrew Nicols 2017-05-04 11:42:38 +08:00
commit 2e3c23b25f
2 changed files with 2 additions and 2 deletions

View File

@ -818,7 +818,7 @@ class mod_assign_external extends external_api {
new external_single_structure(
array(
'name' => new external_value(PARAM_TEXT, 'field name'),
'description' => new external_value(PARAM_TEXT, 'field description'),
'description' => new external_value(PARAM_RAW, 'field description'),
'text' => new external_value (PARAM_RAW, 'field value'),
'format' => new external_format_value ('text')
)

View File

@ -291,7 +291,7 @@ class assign_submission_onlinetext extends assign_submission_plugin {
* @return array An array of field names and descriptions. (name=>description, ...)
*/
public function get_editor_fields() {
return array('onlinetext' => get_string('pluginname', 'assignsubmission_comments'));
return array('onlinetext' => get_string('pluginname', 'assignsubmission_onlinetext'));
}
/**