mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +02:00
* use Forum::isModerator() function
This commit is contained in:
parent
5547fd7895
commit
14920a7193
@ -28,7 +28,7 @@ if(!$logged)
|
||||
|
||||
require_once(LIBS . 'forum.php');
|
||||
|
||||
$canEdit = hasFlag(FLAG_CONTENT_FORUM) || superAdmin();
|
||||
$canEdit = Forum::isModerator();
|
||||
if($canEdit)
|
||||
{
|
||||
$groups = new OTS_Groups_List();
|
||||
|
Loading…
x
Reference in New Issue
Block a user