aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_profile.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-04 11:50:39 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commit266576c6a4224f4b803040c678020e825a1510b5 (patch)
treec8fdfc8cce749be837a23d7a8288027f59865d60 /phpBB/includes/acp/acp_profile.php
parent6c25ad48224e71b080e04a79dfd47b711164e0f8 (diff)
downloadforums-266576c6a4224f4b803040c678020e825a1510b5.tar
forums-266576c6a4224f4b803040c678020e825a1510b5.tar.gz
forums-266576c6a4224f4b803040c678020e825a1510b5.tar.bz2
forums-266576c6a4224f4b803040c678020e825a1510b5.tar.xz
forums-266576c6a4224f4b803040c678020e825a1510b5.zip
[ticket/13454] Remove unused variables
Part 4 PHPBB3-13454
Diffstat (limited to 'phpBB/includes/acp/acp_profile.php')
-rw-r--r--phpBB/includes/acp/acp_profile.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index e5255936f8..6c8d69c4f1 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -549,11 +549,7 @@ class acp_profile
}
}
- if (sizeof($error))
- {
- $submit = false;
- }
- else
+ if (!sizeof($error))
{
$step = (isset($_REQUEST['next'])) ? $step + 1 : ((isset($_REQUEST['prev'])) ? $step - 1 : $step);
}
@@ -775,7 +771,7 @@ class acp_profile
*/
function build_language_options(&$cp, $field_type, $action = 'create')
{
- global $user, $config, $db, $phpbb_container, $request;
+ global $user, $config, $db, $request;
$default_lang_id = (!empty($this->edit_lang_id)) ? $this->edit_lang_id : $this->lang_defs['iso'][$config['default_lang']];