diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-03-26 17:13:46 +0100 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-03-26 17:13:46 +0100 |
commit | db6e5a19f2f812012fa15047aa97e74608bff34c (patch) | |
tree | 2cfca80649def8d0a533488b711c3de7dd7ae38e /phpBB/includes/acp/acp_main.php | |
parent | 4b2d7735b30270ed933ed8ba3d6519183ec87dd6 (diff) | |
download | forums-db6e5a19f2f812012fa15047aa97e74608bff34c.tar forums-db6e5a19f2f812012fa15047aa97e74608bff34c.tar.gz forums-db6e5a19f2f812012fa15047aa97e74608bff34c.tar.bz2 forums-db6e5a19f2f812012fa15047aa97e74608bff34c.tar.xz forums-db6e5a19f2f812012fa15047aa97e74608bff34c.zip |
[ticket/7707] Remove unnecessary variables
PHPBB3-7707
Diffstat (limited to 'phpBB/includes/acp/acp_main.php')
-rw-r--r-- | phpBB/includes/acp/acp_main.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index 4512905539..542a8c549b 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -40,12 +40,10 @@ class acp_main $user_row = $db->sql_fetchrow($result); $db->sql_freeresult($result); - $perm_from = get_username_string('full', $user_row['user_id'], $user_row['username'], $user_row['user_colour']); - $template->assign_vars(array( 'S_RESTORE_PERMISSIONS' => true, 'U_RESTORE_PERMISSIONS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm'), - 'PERM_FROM' => $perm_from, + 'PERM_FROM' => get_username_string('full', $user_row['user_id'], $user_row['username'], $user_row['user_colour']), 'L_PERMISSIONS_TRANSFERRED_EXPLAIN' => sprintf($user->lang['PERMISSIONS_TRANSFERRED_EXPLAIN'], $perm_from, append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm')), )); |