Skip to content

Commit

Permalink
MDL-33102 blogs: userid will be added during blog visibility upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajesh Taneja committed May 22, 2012
1 parent 4f7f2a8 commit 2b1b897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/bloglevelupgrade/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function bloglevelupgrade_entries($blogentries, $forum, $cm, $groupid=-1) {
$discussion->groupid = $groupid;
$message = '';

$discussionid = forum_add_discussion($discussion, null, $message);
$discussionid = forum_add_discussion($discussion, null, $message, $blogentry->userid);

// Copy file attachment records
$fs = get_file_storage();
Expand Down

0 comments on commit 2b1b897

Please sign in to comment.