1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge pull request #1543 from nickvergessen/ticket/11685

[ticket/11685] Remove logout confirmation page
This commit is contained in:
Nathan Guse
2013-07-13 10:37:43 -07:00
4 changed files with 8 additions and 12 deletions

View File

@@ -63,9 +63,7 @@ class acp_main
if ($action === 'admlogout')
{
$user->unset_admin();
$redirect_url = append_sid("{$phpbb_root_path}index.$phpEx");
meta_refresh(3, $redirect_url);
trigger_error($user->lang['ADM_LOGGED_OUT'] . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . $redirect_url . '">', '</a>'));
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
}
if (!confirm_box(true))