Permalink
Browse files

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

…ry to produce a meaningful jabber notification
  • Loading branch information...
andyjdavis committed Jun 25, 2011
1 parent ff555b5 commit 1a199937f07b8c8773a32ba20fe0efddde31815c
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/assignment/lib.php
View
@@ -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';
@@ -2614,7 +2614,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';

0 comments on commit 1a19993

Please sign in to comment.