MINOR Removed incorrect Exception thrown from MSSQLDatabase::searchEngine() - it should still carry on if there's no records anyway

This commit is contained in:
Sean Harvey 2009-10-27 06:59:47 +00:00
parent 1157f3e0db
commit 3e04b42048

View File

@ -1200,7 +1200,6 @@ class MSSQLDatabase extends SS_Database {
//Get a list of all the tables and columns we'll be searching on: //Get a list of all the tables and columns we'll be searching on:
$result=DB::query('EXEC sp_help_fulltext_columns'); $result=DB::query('EXEC sp_help_fulltext_columns');
if (!$result->numRecords()) throw Exception('there are no full text columns to search');
$tables= array(); $tables= array();
foreach($result as $row){ foreach($result as $row){