mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-04 16:46:50 +01:00
* use Forum::isModerator() function
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user