Permalink
Browse files

MDL-26643 added missing message property to discussion object used to…

… upgrade blog
  • Loading branch information...
1 parent c096042 commit 2a5302b62db0c5b3b2b5fcb0e3330e73bf67e5f5 @nebgor nebgor committed Mar 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/bloglevelupgrade.php
View
2 admin/bloglevelupgrade.php
@@ -88,8 +88,8 @@ function bloglevelupgrade_entries($blogentries, $forum, $cm, $groupid=-1) {
$discussion->course = $forum->course;
$discussion->forum = $forum->id;
$discussion->name = $blogentry->subject;
- $discussion->intro = $blogentry->summary;
$discussion->assessed = $forum->assessed;
+ $discussion->message = $blogentry->summary;
$discussion->messageformat = $forum->introformat;
$discussion->messagetrust = 0;
$discussion->attachments = 0;

0 comments on commit 2a5302b

Please sign in to comment.