aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/session.php2
-rw-r--r--phpBB/posting.php3
2 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 55d9d6d603..f8e5c7aa66 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -468,7 +468,7 @@ class user extends session
function setup($lang_set = false, $style = false)
{
- global $db, $template, $config, $auth, $phpEx, $phpbb_root_path, $lang, $help;
+ global $db, $template, $config, $auth, $phpEx, $phpbb_root_path;
if ($this->data['user_id'] != ANONYMOUS)
{
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 92c239316d..bb98bf6e49 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -19,9 +19,6 @@ include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
include($phpbb_root_path . 'includes/functions_posting.'.$phpEx);
include($phpbb_root_path . 'includes/message_parser.'.$phpEx);
-$lang_set = array(
- 'file' => array('posting')
-);
// Start session management
$user->start();