Rolled back, wrong solution for bug Bug #4431

This commit is contained in:
moodler
2005-12-08 06:46:23 +00:00
parent a8adeff529
commit 33b3fc9fc8
-7
View File
@@ -161,13 +161,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