mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
Updated MSSQLDatabase and MSSQLQuery to suit r84061
This commit is contained in:
parent
396384e709
commit
ddbd0fda5d
@ -62,8 +62,6 @@ class MSSQLDatabase extends Database {
|
||||
* - database: The database to connect to
|
||||
*/
|
||||
public function __construct($parameters) {
|
||||
parent::__construct();
|
||||
|
||||
if(function_exists('mssql_connect')) {
|
||||
$this->mssql = true;
|
||||
} else if(function_exists('sqlsrv_connect')) {
|
||||
@ -1332,8 +1330,6 @@ class MSSQLQuery extends Query {
|
||||
$this->database = $database;
|
||||
$this->handle = $handle;
|
||||
$this->mssql = $mssql;
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function __destroy() {
|
||||
|
Loading…
Reference in New Issue
Block a user