mirror of https://github.com/BOINC/boinc.git
parent
a23c646ca5
commit
d806276335
|
@ -1164,6 +1164,8 @@ function user_can_create_thread($user, $forum) {
|
|||
}
|
||||
|
||||
function check_post_access($user, $forum) {
|
||||
if (is_admin($user)) return;
|
||||
|
||||
switch ($forum->parent_type) {
|
||||
case 0:
|
||||
if ($user->prefs->privilege(S_MODERATOR)) return;
|
||||
|
|
Loading…
Reference in New Issue