aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_board.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-05 13:45:16 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commit7a6a16e3a52128179a4f518958f22e773dd94084 (patch)
tree64afc20169161201a584aacfc4421c89fc96cffb /phpBB/includes/acp/acp_board.php
parent915a141fc2c450035be39b53b870fd841aa224f2 (diff)
downloadforums-7a6a16e3a52128179a4f518958f22e773dd94084.tar
forums-7a6a16e3a52128179a4f518958f22e773dd94084.tar.gz
forums-7a6a16e3a52128179a4f518958f22e773dd94084.tar.bz2
forums-7a6a16e3a52128179a4f518958f22e773dd94084.tar.xz
forums-7a6a16e3a52128179a4f518958f22e773dd94084.zip
[ticket/13454] Remove unused variables
This is part 5 and there is more to come. PHPBB3-13454
Diffstat (limited to 'phpBB/includes/acp/acp_board.php')
-rw-r--r--phpBB/includes/acp/acp_board.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 9febbb631d..26663d2a62 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -939,8 +939,6 @@ class acp_board
*/
function board_disable($value, $key)
{
- global $user;
-
$radio_ary = array(1 => 'YES', 0 => 'NO');
return h_radio('config[board_disable]', $radio_ary, $value) . '<br /><input id="' . $key . '" type="text" name="config[board_disable_msg]" maxlength="255" size="40" value="' . $this->new_config['board_disable_msg'] . '" />';
@@ -1050,8 +1048,6 @@ class acp_board
*/
function select_news_forums($value, $key)
{
- global $user, $config;
-
$forum_list = make_forum_select(false, false, true, true, true, false, true);
// Build forum options
@@ -1069,8 +1065,6 @@ class acp_board
function select_exclude_forums($value, $key)
{
- global $user, $config;
-
$forum_list = make_forum_select(false, false, true, true, true, false, true);
// Build forum options
@@ -1126,7 +1120,7 @@ class acp_board
*/
function enable_mod_rewrite($value, $key)
{
- global $user, $config;
+ global $user;
// Determine whether mod_rewrite is enabled on the server
// NOTE: This only works on Apache servers on which PHP is NOT