// SQL Server 2005 RTM
// @todo Are SQL Express version numbers different?)
public static $minimumVersion = '9.00.1399';
- protected static $notMiniumumVerisonMessage = 'config-mssql-old';
+ protected static $notMinimumVersionMessage = 'config-mssql-old';
// These are schema-level privs
// Note: the web user will be created will full permissions if possible, this permission
}
try {
+ /** @var DatabaseMssql $db */
$db = Database::factory( 'mssql', [
'host' => $this->getVar( 'wgDBserver' ),
'port' => $this->getVar( 'wgDBport' ),
$status = $this->getConnection();
if ( !$status->isOK() ) {
- $this->parent->showStatusError( $status );
+ $this->parent->showStatusMessage( $status );
return;
}
// Try to grant to all the users we know exist or we were able to create
$this->db->selectDB( $dbName );
- foreach ( $grantableNames as $name ) {
+ if ( $grantableNames ) {
try {
// First try to grant full permissions
$fullPrivArr = [