checkDB() and checkTableExists() in indexlib.php are obsolete
table name synced with search block install.xml table name
$index = new Zend_Search_Lucene($index_path, true);
+/*
+OBSOLETE REGENERATION - DB installs with search block by now
if (!$dbcontrol->checkDB()) {
search_pexit("Database error. Please check settings/files.");
}
+*/
+// New regeneration
+mtrace("Deleting old index entries.");
+delete_records('search_documents');
//begin timer
search_stopwatch();
/**
* does the table exist?
- *
+ * OBSOLETE
*/
public function checkTableExists() {
global $CFG, $db;
/**
* is our database setup valid?
- *
+ * OBSOLETE - Database is installed at install and should not be dropped out
*/
public function checkDB() {
global $CFG, $db;