Merge branch 'MDL-35966-master' of git://github.com/damyon/moodle

This commit is contained in:
Dan Poltawski 2012-11-28 14:15:28 +08:00
commit 0c21bb606b

View file

@ -3182,7 +3182,7 @@ class assign {
} }
$info->assignment = format_string($assignmentname,true, array('context'=>$context)); $info->assignment = format_string($assignmentname,true, array('context'=>$context));
$info->url = $CFG->wwwroot.'/mod/assign/view.php?id='.$coursemodule->id; $info->url = $CFG->wwwroot.'/mod/assign/view.php?id='.$coursemodule->id;
$info->timeupdated = strftime('%c',$updatetime); $info->timeupdated = userdate($updatetime, get_string('strftimerecentfull'));
$postsubject = get_string($messagetype . 'small', 'assign', $info); $postsubject = get_string($messagetype . 'small', 'assign', $info);
$posttext = self::format_notification_message_text($messagetype, $info, $course, $context, $modulename, $assignmentname); $posttext = self::format_notification_message_text($messagetype, $info, $course, $context, $modulename, $assignmentname);