From a9c6c54f4cf3ffe8549f28cbf5c3893763478379 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 11 Mar 2010 09:44:51 +0000 Subject: [PATCH] MINOR Reverted last commit --- code/MSSQLDatabase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/MSSQLDatabase.php b/code/MSSQLDatabase.php index 6e273ec..f2b8662 100644 --- a/code/MSSQLDatabase.php +++ b/code/MSSQLDatabase.php @@ -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("