mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49: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');
|
require_once(LIBS . 'forum.php');
|
||||||
|
|
||||||
$canEdit = hasFlag(FLAG_CONTENT_FORUM) || superAdmin();
|
$canEdit = Forum::isModerator();
|
||||||
if($canEdit)
|
if($canEdit)
|
||||||
{
|
{
|
||||||
$groups = new OTS_Groups_List();
|
$groups = new OTS_Groups_List();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user