r99386 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99385‎ | r99386 | r99387 >
Date:00:53, 10 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed unused globals in defineSpecialPages()
Modified paths:
  • /trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.setup.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.setup.php
@@ -26,7 +26,7 @@
2727 * @param $groups Array $wgSpecialPageGroups (assoc array of special page groups)
2828 */
2929 public static function defineSpecialPages( array &$pages, array &$groups ) {
30 - global $wgSpecialPages, $wgSpecialPageGroups, $wgConfirmAccountSaveInfo;
 30+ global $wgConfirmAccountSaveInfo;
3131
3232 $pages['RequestAccount'] = 'RequestAccountPage';
3333 $groups['RequestAccount'] = 'login';

Status & tagging log