r79740 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79739‎ | r79740 | r79741 >
Date:18:15, 6 January 2011
Author:platonides
Status:ok
Tags:
Comment:
Remove unused global $wgRestrictionTypes, changed into Title::getRestrictionTypes() in r79655
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -484,7 +484,7 @@
485485 * You will only be adding bloat to the page and causing page caches to have to be purged on configuration changes.
486486 */
487487 static function makeGlobalVariablesScript( $skinName ) {
488 - global $wgTitle, $wgUser, $wgRequest, $wgArticle, $wgOut, $wgRestrictionTypes, $wgUseAjax, $wgEnableMWSuggest;
 488+ global $wgTitle, $wgUser, $wgRequest, $wgArticle, $wgOut, $wgUseAjax, $wgEnableMWSuggest;
489489
490490 $ns = $wgTitle->getNamespace();
491491 $nsname = MWNamespace::exists( $ns ) ? MWNamespace::getCanonicalName( $ns ) : $wgTitle->getNsText();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79655(bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected ...btongminh19:17, 5 January 2011

Status & tagging log