mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-31 03:29:23 +02:00
[ticket/9693] Removed useless $auth globalizations.
PHPBB3-9693
This commit is contained in:
parent
835391c83a
commit
820f22f784
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user