mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-58707-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
2e3c23b25f
@ -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')
|
||||
)
|
||||
|
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user