r101110 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101109‎ | r101110 | r101111 >
Date:01:16, 28 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed $wgUseNormalUser var; not used by any scripts anymore
Modified paths:
  • /trunk/phase3/maintenance/commandLine.inc (modified) (history)
  • /trunk/phase3/maintenance/eval.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/commandLine.inc
@@ -37,13 +37,6 @@
3838 }
3939 }
4040
41 - public function getDbType() {
42 - global $wgUseNormalUser;
43 -
44 - return ( isset( $wgUseNormalUser ) && $wgUseNormalUser ) ?
45 - Maintenance::DB_STD : Maintenance::DB_ADMIN;
46 - }
47 -
4841 /**
4942 * No help, it would just be misleading since it misses custom options
5043 */
Index: trunk/phase3/maintenance/eval.php
@@ -31,8 +31,6 @@
3232 * @ingroup Maintenance
3333 */
3434
35 -$wgUseNormalUser = (bool)getenv( 'MW_WIKIUSER' );
36 -
3735 $optionsWithArgs = array( 'd' );
3836
3937 /** */

Status & tagging log