aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/user.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-03 18:19:02 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commitf50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9 (patch)
tree74e7b2e89c84cfa3d16c18be10afd99fd6af245c /phpBB/phpbb/user.php
parent73e6e5b77faadbb7676961bf38122d669de111db (diff)
downloadforums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar
forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.gz
forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.bz2
forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.xz
forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.zip
[ticket/13454] Remove unused variables
This is part 2 of the pr. PHPBB3-13454
Diffstat (limited to 'phpBB/phpbb/user.php')
-rw-r--r--phpBB/phpbb/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/user.php b/phpBB/phpbb/user.php
index 173b20ee53..1403c575af 100644
--- a/phpBB/phpbb/user.php
+++ b/phpBB/phpbb/user.php
@@ -281,7 +281,7 @@ class user extends \phpbb\session
// User has wrong style
if (!$this->style && $style_id == $this->data['user_style'])
{
- $style_id = $this->data['user_style'] = $config['default_style'];
+ $this->data['user_style'] = $config['default_style'];
$sql = 'UPDATE ' . USERS_TABLE . "
SET user_style = $style_id