Skip to content

Commit

Permalink
assignment MDL-26532 fixed regression in assignment_cron() while proc…
Browse files Browse the repository at this point in the history
…essing messaging.
  • Loading branch information
Aparup Banerjee committed Feb 21, 2011
1 parent 99faefb commit d042ff0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mod/assignment/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2612,6 +2612,11 @@ function assignment_cron () {
$eventdata->fullmessageformat = FORMAT_PLAIN;
$eventdata->fullmessagehtml = $posthtml;
$eventdata->smallmessage = '';

$eventdata->name = 'assignment_updates';
$eventdata->component = 'mod_assignment';
$eventdata->notification = 1;

message_send($eventdata);
}

Expand Down

0 comments on commit d042ff0

Please sign in to comment.