}
$this->doQuery( "DROP TABLE $ctest" );
- $res = dbsource( "../maintenance/mssql/tables.sql", $this );
+ $res = $this->sourceFile( "../maintenance/mssql/tables.sql" );
+ if ( $err !== true ) {
+ echo " <b>FAILED</b></li>";
+ dieout( htmlspecialchars( $err ) );
+ }
# # Update version information
$mwv = $this->addQuotes( $wgVersion );
/**
* Called by the installer script (when modified according to the MediaWikiLite installation instructions)
- * - this is the same way PostgreSQL works, MySQL reads in tables.sql and interwiki.sql using dbsource (which calls db->sourceFile)
+ * - this is the same way PostgreSQL works, MySQL reads in tables.sql and interwiki.sql using DatabaseBase::sourceFile()
*/
public function setup_database() {
global $IP;