Index: trunk/extensions/WikimediaMaintenance/WikimediaMaintenance.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | * Override the core loadSettings. |
26 | 26 | */ |
27 | 27 | public function loadSettings() { |
28 | | - global $IP, $wgNoDBParam, $wgUseNormalUser, $wgConf, $site, $lang; |
| 28 | + global $IP, $wgNoDBParam, $wgConf, $site, $lang; |
29 | 29 | |
30 | 30 | if ( empty( $wgNoDBParam ) ) { |
31 | 31 | # Check if we were passed a db name |
— | — | @@ -53,13 +53,6 @@ |
54 | 54 | $site = 'wikipedia'; |
55 | 55 | } |
56 | 56 | |
57 | | - # This is for the IRC scripts, which now run as the apache user |
58 | | - # The apache user doesn't have access to the wikiadmin_pass command |
59 | | - if ( $_ENV['USER'] == 'apache' ) { |
60 | | - # if ( posix_geteuid() == 48 ) { |
61 | | - $wgUseNormalUser = true; |
62 | | - } |
63 | | - |
64 | 57 | putenv( 'wikilang=' . $lang ); |
65 | 58 | |
66 | 59 | ini_set( 'include_path', ".:$IP:$IP/includes:$IP/languages:$IP/maintenance" ); |