Index: trunk/extensions/Renameuser/Renameuser_body.php |
— | — | @@ -307,11 +307,10 @@ |
308 | 308 | ); |
309 | 309 | |
310 | 310 | $suppressRedirect = false; |
311 | | - var_dump($wgRequest->getCheck( 'suppressredirect' )); |
| 311 | + |
312 | 312 | if ( $wgRequest->getCheck( 'suppressredirect' ) && $wgUser->isAllowed( 'suppressredirect' ) ) { |
313 | 313 | $suppressRedirect = true; |
314 | 314 | } |
315 | | - var_dump($suppressRedirect); |
316 | 315 | |
317 | 316 | $output = ''; |
318 | 317 | $skin =& $wgUser->getSkin(); |