aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-13 12:02:49 -0400
committerJoas Schilling <nickvergessen@gmx.de>2013-07-13 12:02:49 -0400
commit7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae (patch)
tree374a26be367db28949ea6191db58f0b0674c8d02 /phpBB/includes
parentfd10d97cb1e6c43b88b923bab1015cafe03d379c (diff)
downloadforums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.tar
forums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.tar.gz
forums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.tar.bz2
forums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.tar.xz
forums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.zip
[ticket/11684] Remove useless confirmation page after login and admin login
PHPBB3-11684
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 6a1b3fd4f8..200614252a 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3301,8 +3301,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa
return;
}
- $redirect = meta_refresh(3, $redirect);
- trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
+ redirect($redirect);
}
// Something failed, determine what...