]> git.mjollnir.org Git - moodle.git/commitdiff
No longer need parent link in the footer
authormoodler <moodler>
Fri, 31 Oct 2003 06:57:25 +0000 (06:57 +0000)
committermoodler <moodler>
Fri, 31 Oct 2003 06:57:25 +0000 (06:57 +0000)
mod/forum/lib.php

index fe6602f14bd75a74b2c913425ccc6202c1c3d333..8ddcbfb248d7635e6a59f3500426c3e2bf52f3fc 100644 (file)
@@ -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 = "<A HREF=\"$CFG->wwwroot/mod/forum/discuss.php?d=$post->discussion&parent=$post->parent\">".
-                           get_string("parentofthispost", "forum")."</A>";
-            } 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 {