aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-04-30 13:20:27 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-04-30 13:20:27 -0400
commit820f22f784d55edf22db5f065cba739308b37ed2 (patch)
tree70930cd2b13e0b591136a70b45448d50a033464d
parent835391c83af57632b051302dfdb8d82f9b5017c1 (diff)
downloadforums-820f22f784d55edf22db5f065cba739308b37ed2.tar
forums-820f22f784d55edf22db5f065cba739308b37ed2.tar.gz
forums-820f22f784d55edf22db5f065cba739308b37ed2.tar.bz2
forums-820f22f784d55edf22db5f065cba739308b37ed2.tar.xz
forums-820f22f784d55edf22db5f065cba739308b37ed2.zip
[ticket/9693] Removed useless $auth globalizations.
PHPBB3-9693
-rw-r--r--phpBB/includes/functions_posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 0bb0ef8722..7630e05695 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -21,7 +21,7 @@ if (!defined('IN_PHPBB'))
*/
function generate_smilies($mode, $forum_id)
{
- global $auth, $db, $user, $config, $template;
+ global $db, $user, $config, $template;
global $phpEx, $phpbb_root_path;
$start = request_var('start', 0);
@@ -803,7 +803,7 @@ function posting_gen_inline_attachments(&$attachment_data)
*/
function posting_gen_attachment_entry($attachment_data, &$filename_data, $show_attach_box = true)
{
- global $template, $config, $phpbb_root_path, $phpEx, $user, $auth;
+ global $template, $config, $phpbb_root_path, $phpEx, $user;
// Some default template variables
$template->assign_vars(array(