mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
#4659 forum main admin as silent moderator
- without displaying in moderator list (if they are not forum moderators directly) CLOSES #4659
This commit is contained in:
@@ -535,7 +535,7 @@ class e107forum
|
||||
}
|
||||
|
||||
// Check if user has moderator permissions for this thread
|
||||
if(!in_array(USERID, $moderatorUserIds))
|
||||
if(!in_array(USERID, $moderatorUserIds) && !getperms('0'))
|
||||
{
|
||||
$ret['msg'] = ''.LAN_FORUM_8030.'';
|
||||
$ret['hide'] = false;
|
||||
|
Reference in New Issue
Block a user