Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -82,7 +82,6 @@ |
83 | 83 | |
84 | 84 | if( !$this->userCanChangeRights( $wgUser, true ) ) { |
85 | 85 | // fixme... there may be intermediate groups we can mention. |
86 | | - global $wgOut; |
87 | 86 | $wgOut->showPermissionsErrorPage( array( array( |
88 | 87 | $wgUser->isAnon() |
89 | 88 | ? 'userrights-nologin' |
— | — | @@ -91,7 +90,6 @@ |
92 | 91 | } |
93 | 92 | |
94 | 93 | if ( wfReadOnly() ) { |
95 | | - global $wgOut; |
96 | 94 | $wgOut->readOnlyPage(); |
97 | 95 | return; |
98 | 96 | } |