Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-28023 assignment: assignment wasnt supplying all the data necessa…

…ry to produce a meaningful jabber notification
  • Loading branch information...
commit fa09b5a9a34b6848b49719ca174603f552785ac9 1 parent 50d32a2
@andyjdavis andyjdavis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/assignment/lib.php
View
4 mod/assignment/lib.php
@@ -1746,7 +1746,7 @@ function email_teachers($submission) {
$eventdata->fullmessage = $posttext;
$eventdata->fullmessageformat = FORMAT_PLAIN;
$eventdata->fullmessagehtml = $posthtml;
- $eventdata->smallmessage = '';
+ $eventdata->smallmessage = $postsubject;
$eventdata->name = 'assignment_updates';
$eventdata->component = 'mod_assignment';
@@ -2616,7 +2616,7 @@ function assignment_cron () {
$eventdata->fullmessage = $posttext;
$eventdata->fullmessageformat = FORMAT_PLAIN;
$eventdata->fullmessagehtml = $posthtml;
- $eventdata->smallmessage = '';
+ $eventdata->smallmessage = $postsubject;
$eventdata->name = 'assignment_updates';
$eventdata->component = 'mod_assignment';
Please sign in to comment.
Something went wrong with that request. Please try again.