missed one :)
authorDomas Mituzas <midom@users.mediawiki.org>
Sun, 21 Feb 2010 17:26:04 +0000 (17:26 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Sun, 21 Feb 2010 17:26:04 +0000 (17:26 +0000)
includes/specials/SpecialUserrights.php

index 6d9def6..36caf9a 100644 (file)
@@ -113,8 +113,6 @@ class UserrightsPage extends SpecialPage {
                                                $reason
                                        );
 
-                                       global $wgOut;
-
                                        $url = $this->getSuccessURL();
                                        $wgOut->redirect( $url );
                                        return;