1
0
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:
Paul S. Owen
2003-04-15 23:12:28 +00:00
parent dce7e4c2b8
commit 99405c6e4a
7 changed files with 14 additions and 7 deletions

View File

@@ -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))
{