mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Enable/disable display of moderator listings
git-svn-id: file:///svn/phpbb/trunk@3842 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -169,7 +169,14 @@ function get_forum_parents($forum_data)
|
||||
// Obtain list of moderators of each forum
|
||||
function get_moderators(&$forum_moderators, $forum_id = false)
|
||||
{
|
||||
global $cache, $SID, $db, $acl_options, $phpEx;
|
||||
global $config, $template, $db;
|
||||
|
||||
// Have we disabled the display of moderators? If so, then return
|
||||
// from whence we came ... after setting an S_ template var
|
||||
if (empty($config['load_moderators']))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!empty($forum_id) && is_array($forum_id))
|
||||
{
|
||||
|
Reference in New Issue
Block a user