Skip to content

Commit

Permalink
MDL-28023_assignment_jabber assignment: added context url to improve …
Browse files Browse the repository at this point in the history
…the jabber notifications
  • Loading branch information
andyjdavis committed Jun 27, 2011
1 parent fa09b5a commit 0f1751b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/assignment/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2621,6 +2621,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);
}
Expand Down

0 comments on commit 0f1751b

Please sign in to comment.