Merge branch 'MDL-30085_grade_ws' of git://github.com/jleyva/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2014-04-02 04:05:19 +02:00
commit c790670d77
5 changed files with 1074 additions and 3 deletions

View file

@ -140,6 +140,7 @@ class core_course_external extends external_api {
//common info (for people being able to see the module or availability dates)
$module['id'] = $cm->id;
$module['name'] = format_string($cm->name, true);
$module['instance'] = $cm->instance;
$module['modname'] = $cm->modname;
$module['modplural'] = $cm->modplural;
$module['modicon'] = $cm->get_icon_url()->out(false);