aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/acp/acp_modules.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/modules/acp/acp_modules.php')
-rw-r--r--phpBB/modules/acp/acp_modules.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/modules/acp/acp_modules.php b/phpBB/modules/acp/acp_modules.php
index e04961099c..bf5f17449b 100644
--- a/phpBB/modules/acp/acp_modules.php
+++ b/phpBB/modules/acp/acp_modules.php
@@ -43,7 +43,7 @@ class acp_modules
function main($id, $mode)
{
- global $db, $user, $auth, $template, $module, $config;
+ global $db, $user, $auth, $template, $module;
// Set a global define for modules we might include (the author is able to prevent execution of code by checking this constant)
define('MODULE_INCLUDE', true);
@@ -601,7 +601,7 @@ class acp_modules
*/
function make_module_select($select_id = false, $ignore_id = false, $ignore_acl = false, $ignore_nonpost = false, $ignore_emptycat = true, $ignore_noncat = false)
{
- global $db, $user, $auth, $config;
+ global $db, $user, $auth;
$sql = 'SELECT module_id, module_enabled, module_basename, parent_id, module_langname, left_id, right_id, module_auth
FROM ' . MODULES_TABLE . "