2
0
mirror of https://github.com/slawkens/myaac.git synced 2025-05-11 16:39:21 +02:00

* use Forum::isModerator() function

This commit is contained in:
slawkens 2018-01-08 11:00:11 +01:00
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();