MDL-65032 mod_forum: Remove unused discussion userid

This commit is contained in:
Peter 2019-04-26 06:46:59 +08:00
parent 565cccfafa
commit 8666dfec6f

View File

@ -1823,7 +1823,7 @@ function forum_get_discussions($cm, $forumsort="", $fullpost=true, $unused=-1, $
$params[] = $updatedsince;
}
$discussionfields = "d.id as discussionid, d.course, d.forum, d.name, d.firstpost, d.userid, d.groupid, d.assessed," .
$discussionfields = "d.id as discussionid, d.course, d.forum, d.name, d.firstpost, d.groupid, d.assessed," .
" d.timemodified, d.usermodified, d.timestart, d.timeend, d.pinned, d.timelocked";
$allnames = get_all_user_name_fields(true, 'u');