From aff9fe5e113267ce393343e6da8b9b57dc929027 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 8 Dec 2005 06:48:50 +0000 Subject: [PATCH] Rolled back, bug Bug #4431 hasnt been fixed --- mod/forum/discuss.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mod/forum/discuss.php b/mod/forum/discuss.php index 64347222d2d..ec4acb35d4c 100644 --- a/mod/forum/discuss.php +++ b/mod/forum/discuss.php @@ -169,13 +169,6 @@ } } - //if forum is hidden then only teacher and admin can see it - if ($forum->visible == 0 and !isadmin() and !isteacher($course->id)) { - print_heading("Sorry, you don't have permission to see this discussion"); - print_footer($course); - die; - } - /// Print the controls across the top