Index: trunk/phase3/config/Installer.php |
— | — | @@ -921,11 +921,9 @@ |
922 | 922 | } |
923 | 923 | else if ( $conf->DBtype == 'mssql' ) { |
924 | 924 | error_reporting( E_ALL ); |
925 | | - $wgSuperUser = ''; |
926 | | - # # Possible connect as a superuser |
| 925 | + # Possible connect as a superuser |
927 | 926 | if ( $useRoot ) { |
928 | | - $wgDBsuperuser = $conf->RootUser; |
929 | | - echo( "<li>Attempting to connect to database \"{$conf->DBtype}\" as superuser \"{$wgDBsuperuser}\"" ); |
| 927 | + echo( "<li>Attempting to connect to database \"{$conf->DBtype}\" as superuser \"{$conf->RootUser}\"" ); |
930 | 928 | $wgDatabase = $dbc->newFromParams( |
931 | 929 | $conf->DBserver, |
932 | 930 | $conf->RootUser, |
— | — | @@ -1080,7 +1078,6 @@ |
1081 | 1079 | } |
1082 | 1080 | } else { # not mysql |
1083 | 1081 | error_reporting( E_ALL | E_STRICT ); |
1084 | | - $wgSuperUser = ''; |
1085 | 1082 | ## Possible connect as a superuser |
1086 | 1083 | // Changed !mysql to postgres check since it seems to only apply to postgres |
1087 | 1084 | if( $useRoot && $conf->DBtype == 'postgres' ) { |