mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
[ticket/11628] Remove phpbb_style (move methods to phpbb_template)
PHPBB3-11628
This commit is contained in:
@@ -75,7 +75,7 @@ class phpbb_user extends phpbb_session
|
||||
*/
|
||||
function setup($lang_set = false, $style_id = false)
|
||||
{
|
||||
global $db, $phpbb_style, $template, $config, $auth, $phpEx, $phpbb_root_path, $cache;
|
||||
global $db, $template, $config, $auth, $phpEx, $phpbb_root_path, $cache;
|
||||
global $phpbb_dispatcher;
|
||||
|
||||
if ($this->data['user_id'] != ANONYMOUS)
|
||||
@@ -236,7 +236,7 @@ class phpbb_user extends phpbb_session
|
||||
}
|
||||
}
|
||||
|
||||
$phpbb_style->set_style();
|
||||
$template->set_style();
|
||||
|
||||
$this->img_lang = $this->lang_name;
|
||||
|
||||
|
Reference in New Issue
Block a user