mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
MINOR Reverted last commit
This commit is contained in:
parent
2013c70090
commit
a9c6c54f4c
@ -85,7 +85,7 @@ class MSSQLDatabase extends SS_Database {
|
||||
$this->dbConn = mssql_connect($parameters['server'], $parameters['username'], $parameters['password'], true);
|
||||
} else {
|
||||
// Disable default warnings as errors behaviour for sqlsrv to keep it in line with mssql functions
|
||||
if(ini_get('sqlsrv.WarningsReturnAsErrors') == 'On') {
|
||||
if(ini_get('sqlsrv.WarningsReturnAsErrors')) {
|
||||
ini_set('sqlsrv.WarningsReturnAsErrors', 'Off');
|
||||
}
|
||||
|
||||
@ -131,7 +131,6 @@ class MSSQLDatabase extends SS_Database {
|
||||
* @return boolean
|
||||
*/
|
||||
public function fullTextEnabled() {
|
||||
return false;
|
||||
if($this->fullTextEnabled === null) {
|
||||
$isInstalled = (boolean) DB::query("SELECT fulltextserviceproperty('isfulltextinstalled')")->value();
|
||||
$enabledForDb = (boolean) DB::query("
|
||||
|
Loading…
Reference in New Issue
Block a user