Permalink
Browse files

assignment MDL-26532 fixed regression in assignment_cron() while proc…

…essing messaging.
  • Loading branch information...
1 parent 99faefb commit d042ff06b35fe91b6bb097cc8cdfd4be5e8b42f0 @nebgor nebgor committed Feb 21, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 mod/assignment/lib.php
@@ -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);
}

0 comments on commit d042ff0

Please sign in to comment.