Merge branch 'MDL-58707-32' of git://github.com/jleyva/moodle into MOODLE_32_STABLE

This commit is contained in:
Andrew Nicols
2017-05-04 11:45:03 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -815,7 +815,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')
)
@@ -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'));
}
/**