From: Domas Mituzas Date: Sun, 21 Feb 2010 17:25:25 +0000 (+0000) Subject: 3x global $wgOut X-Git-Tag: 1.31.0-rc.0~37670 X-Git-Url: http://git.cyclocoop.org/%22%20.%20%20%20%24self2%20.%20%20%20%22&var_mode_affiche=boucle?a=commitdiff_plain;h=b6e0357ffbc71e03213eab6d9ca83708a16051fb;p=lhc%2Fweb%2Fwiklou.git 3x global $wgOut --- diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index 2e2e9621c2..6d9def66d5 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -82,7 +82,6 @@ class UserrightsPage extends SpecialPage { if( !$this->userCanChangeRights( $wgUser, true ) ) { // fixme... there may be intermediate groups we can mention. - global $wgOut; $wgOut->showPermissionsErrorPage( array( array( $wgUser->isAnon() ? 'userrights-nologin' @@ -91,7 +90,6 @@ class UserrightsPage extends SpecialPage { } if ( wfReadOnly() ) { - global $wgOut; $wgOut->readOnlyPage(); return; }