1
0
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:
Vjacheslav Trushkin
2012-04-03 00:41:56 +03:00
parent 8363d32765
commit 57065095d5
6 changed files with 11 additions and 11 deletions

View File

@@ -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;