MINOR Reverted last commit

This commit is contained in:
Sean Harvey 2010-03-11 09:44:51 +00:00
parent 2013c70090
commit a9c6c54f4c

View File

@ -85,7 +85,7 @@ class MSSQLDatabase extends SS_Database {
$this->dbConn = mssql_connect($parameters['server'], $parameters['username'], $parameters['password'], true); $this->dbConn = mssql_connect($parameters['server'], $parameters['username'], $parameters['password'], true);
} else { } else {
// Disable default warnings as errors behaviour for sqlsrv to keep it in line with mssql functions // 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'); ini_set('sqlsrv.WarningsReturnAsErrors', 'Off');
} }
@ -131,7 +131,6 @@ class MSSQLDatabase extends SS_Database {
* @return boolean * @return boolean
*/ */
public function fullTextEnabled() { public function fullTextEnabled() {
return false;
if($this->fullTextEnabled === null) { if($this->fullTextEnabled === null) {
$isInstalled = (boolean) DB::query("SELECT fulltextserviceproperty('isfulltextinstalled')")->value(); $isInstalled = (boolean) DB::query("SELECT fulltextserviceproperty('isfulltextinstalled')")->value();
$enabledForDb = (boolean) DB::query(" $enabledForDb = (boolean) DB::query("