mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
[ticket/10754] Changing $style to $phpbb_style
Renaming global variable $style to $phpbb_style PHPBB3-10754
This commit is contained in:
@@ -72,7 +72,7 @@ class phpbb_user extends phpbb_session
|
||||
*/
|
||||
function setup($lang_set = false, $style_id = false)
|
||||
{
|
||||
global $db, $style, $template, $config, $auth, $phpEx, $phpbb_root_path, $cache;
|
||||
global $db, $phpbb_style, $template, $config, $auth, $phpEx, $phpbb_root_path, $cache;
|
||||
|
||||
if ($this->data['user_id'] != ANONYMOUS)
|
||||
{
|
||||
@@ -206,7 +206,7 @@ class phpbb_user extends phpbb_session
|
||||
}
|
||||
}
|
||||
|
||||
$style->set_style();
|
||||
$phpbb_style->set_style();
|
||||
|
||||
$this->img_lang = $this->lang_name;
|
||||
|
||||
|
Reference in New Issue
Block a user