From: moodler Date: Fri, 31 Oct 2003 06:57:25 +0000 (+0000) Subject: No longer need parent link in the footer X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=497588fe37a54c131e5160767ab9091dc60fafa0;p=moodle.git No longer need parent link in the footer --- diff --git a/mod/forum/lib.php b/mod/forum/lib.php index fe6602f14b..8ddcbfb248 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -342,14 +342,7 @@ function forum_user_complete($course, $user, $mod, $forum) { if ($posts = forum_get_user_posts($forum->id, $user->id)) { foreach ($posts as $post) { - if ($post->parent) { - $footer = "wwwroot/mod/forum/discuss.php?d=$post->discussion&parent=$post->parent\">". - get_string("parentofthispost", "forum").""; - } else { - $footer = ""; - } - - forum_print_post($post, $course->id, $ownpost=false, $reply=false, $link=false, $rate=false, $footer); + forum_print_post($post, $course->id, $ownpost=false, $reply=false, $link=false, $rate=false); } } else {