mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
Rolled back, bug Bug #4431 hasnt been fixed
This commit is contained in:
parent
d0087b2f5c
commit
aff9fe5e11
@ -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
|
/// Print the controls across the top
|
||||||
|
Loading…
x
Reference in New Issue
Block a user