Permalink
Browse files

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

…ry to produce a meaningful jabber notification
  • Loading branch information...
1 parent 50d32a2 commit fa09b5a9a34b6848b49719ca174603f552785ac9 @andyjdavis andyjdavis committed Jun 25, 2011
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';
@@ -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';

0 comments on commit fa09b5a

Please sign in to comment.