Merge remote-tracking branch 'p/ticket/9693' into develop

* p/ticket/9693:
  [ticket/9693] Removed useless $auth globalizations.
This commit is contained in:
Andreas Fischer 2011-05-05 19:59:11 +02:00
commit 6a3f34ae61

View file

@ -21,7 +21,7 @@ if (!defined('IN_PHPBB'))
*/ */
function generate_smilies($mode, $forum_id) function generate_smilies($mode, $forum_id)
{ {
global $auth, $db, $user, $config, $template; global $db, $user, $config, $template;
global $phpEx, $phpbb_root_path; global $phpEx, $phpbb_root_path;
$start = request_var('start', 0); $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) 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 // Some default template variables
$template->assign_vars(array( $template->assign_vars(array(