* use Forum::isModerator() function

This commit is contained in:
slawkens 2018-01-08 11:00:11 +01:00
parent 5547fd7895
commit 14920a7193

View File

@ -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();