r44489 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44488‎ | r44489 | r44490 >
Date:02:53, 12 December 2008
Author:aaron
Status:ok
Tags:
Comment:
Add missing global declaration
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -450,7 +450,7 @@
451451 # If patrolling is already on, then we know that it
452452 # was intended to have all namespaces patrollable.
453453 if( $wgUseRCPatrol || $wgUseNPPatrol ) {
454 - global $wgCanonicalNamespaceNames;
 454+ global $wgFlaggedRevsPatrolNamespaces, $wgCanonicalNamespaceNames;
455455 $wgFlaggedRevsPatrolNamespaces = array_keys( $wgCanonicalNamespaceNames );
456456 }
457457 $wgUseRCPatrol = true;

Status & tagging log