mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/11336] Adds redirect for old "leaders" mode
PHPBB3-11336
This commit is contained in:
parent
c5eccedfb6
commit
38d2efe829
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,12 @@ $username = request_var('un', '', true);
|
|||
$group_id = request_var('g', 0);
|
||||
$topic_id = request_var('t', 0);
|
||||
|
||||
// Redirect when old mode is used
|
||||
if ($mode == 'leaders')
|
||||
{
|
||||
redirect(append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=team'));
|
||||
}
|
||||
|
||||
// Check our mode...
|
||||
if (!in_array($mode, array('', 'group', 'viewprofile', 'email', 'contact', 'searchuser', 'team')))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue