r62779 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62778‎ | r62779 | r62780 >
Date:17:25, 21 February 2010
Author:midom
Status:ok
Tags:
Comment:
3x global $wgOut
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUserrights.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUserrights.php
@@ -82,7 +82,6 @@
8383
8484 if( !$this->userCanChangeRights( $wgUser, true ) ) {
8585 // fixme... there may be intermediate groups we can mention.
86 - global $wgOut;
8786 $wgOut->showPermissionsErrorPage( array( array(
8887 $wgUser->isAnon()
8988 ? 'userrights-nologin'
@@ -91,7 +90,6 @@
9291 }
9392
9493 if ( wfReadOnly() ) {
95 - global $wgOut;
9694 $wgOut->readOnlyPage();
9795 return;
9896 }

Status & tagging log