From: stronk7 Date: Sat, 11 Aug 2007 00:23:29 +0000 (+0000) Subject: Changing ocurrences from search_documents to block_search_documents. MDL-10572 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=690b644d0607ed3665173b3bf8361413fef281b9;p=moodle.git Changing ocurrences from search_documents to block_search_documents. MDL-10572 --- diff --git a/search/indexersplash.php b/search/indexersplash.php index 058118677d..26b7763a34 100644 --- a/search/indexersplash.php +++ b/search/indexersplash.php @@ -35,7 +35,7 @@ $indexinfo = new IndexInfo(); if ($indexinfo->valid()) { mtrace("
The data directory ($indexinfo->path) contains $indexinfo->filecount files, and\n"
-          ."there are ".$indexinfo->dbcount." records in the search_documents table.\n"
+          ."there are ".$indexinfo->dbcount." records in the block_search_documents table.\n"
           ."\n"
           ."This indicates that you have already succesfully indexed this site. Follow the link\n"
           ."if you are sure that you want to continue indexing - this will replace any existing\n"
@@ -52,4 +52,4 @@ if ($indexinfo->valid()) {
 else {
     header('Location: indexer.php?areyousure=yes');
 }
-?>
\ No newline at end of file
+?>
diff --git a/search/lib.php b/search/lib.php
index b9e6f9195c..1b441aaff3 100644
--- a/search/lib.php
+++ b/search/lib.php
@@ -22,7 +22,7 @@ function search_pexit($str = "") {
 */
 
 define('SEARCH_INDEX_PATH', "$CFG->dataroot/search");
-define('SEARCH_DATABASE_TABLE', 'search_documents');
+define('SEARCH_DATABASE_TABLE', 'block_search_documents');
 
 //document types that can be searched
 //define('SEARCH_TYPE_NONE', 'none');
diff --git a/search/stats.php b/search/stats.php
index 0b71c9c29e..412205595b 100644
--- a/search/stats.php
+++ b/search/stats.php
@@ -122,7 +122,7 @@ $table->cellpadding = 5;
 $table->cellspacing = 0;
 $table->width = '500';
 
-$table->data[] = array("{$databasestr}", "{$CFG->prefix}search_documents");
+$table->data[] = array("{$databasestr}", "{$CFG->prefix}block_search_documents");
 
 //add extra fields if we're admin
 if (isadmin()) {
@@ -146,4 +146,4 @@ print_table($table);
 print_box_end();
 print_box_end();
 print_footer();
-?>
\ No newline at end of file
+?>