Permalink
Browse files

MDL-33045: Assign: remove references to old assignment in URLs

  • Loading branch information...
1 parent f5b32ab commit 599f7a279c7f078941ede3c448f574a92be40efc Ruslan Kabalin committed May 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/assign/locallib.php
View
4 mod/assign/locallib.php
@@ -2368,8 +2368,8 @@ private static function format_notification_message_html($messagetype, $info, $c
global $CFG;
$posthtml = '<p><font face="sans-serif">'.
'<a href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.format_string($course->shortname, true, array('context' => $context->get_course_context())).'</a> ->'.
- '<a href="'.$CFG->wwwroot.'/mod/assignment/index.php?id='.$course->id.'">'.$modulename.'</a> ->'.
- '<a href="'.$CFG->wwwroot.'/mod/assignment/view.php?id='.$coursemodule->id.'">'.format_string($assignmentname, true, array('context' => $context)).'</a></font></p>';
+ '<a href="'.$CFG->wwwroot.'/mod/assign/index.php?id='.$course->id.'">'.$modulename.'</a> ->'.
+ '<a href="'.$CFG->wwwroot.'/mod/assign/view.php?id='.$coursemodule->id.'">'.format_string($assignmentname, true, array('context' => $context)).'</a></font></p>';
$posthtml .= '<hr /><font face="sans-serif">';
$posthtml .= '<p>'.get_string($messagetype . 'html', 'assign', $info).'</p>';
$posthtml .= '</font><hr />';

0 comments on commit 599f7a2

Please sign in to comment.