MDL-55364 forum: Combine user picture and user name rows
authorJohn Okely <jlokely@gmail.com>
Wed, 2 Aug 2017 02:27:47 +0000 (10:27 +0800)
committerJohn Okely <jlokely@gmail.com>
Wed, 2 Aug 2017 02:27:47 +0000 (10:27 +0800)
mod/forum/lib.php

index 4181eab..0f080a9 100644 (file)
@@ -3795,7 +3795,6 @@ function forum_print_discussion_header(&$post, $forum, $group = -1, $datestring
     echo '<span class="name">';
     // User name
     $fullname = fullname($postuser, has_capability('moodle/site:viewfullnames', $modcontext));
-    echo '<td class="author">';
     echo '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$post->userid.'&amp;course='.$forum->course.'">'.$fullname.'</a>';
     echo '</span>';
     echo "</td>\n";