Permalink
Browse files

MDL-28023_assignment_jabber assignment: added context url to improve …

…the jabber notifications
  • Loading branch information...
1 parent 1a19993 commit 3c18677ad118dd85dc9a791f6c5f8e5368174e0b @andyjdavis andyjdavis committed Jun 27, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/assignment/lib.php
View
@@ -2619,6 +2619,8 @@ function assignment_cron () {
$eventdata->name = 'assignment_updates';
$eventdata->component = 'mod_assignment';
$eventdata->notification = 1;
+ $eventdata->contexturl = $assignmentinfo->url;
+ $eventdata->contexturlname = $assignmentinfo->assignment;
message_send($eventdata);
}

0 comments on commit 3c18677

Please sign in to comment.