]> git.mjollnir.org Git - moodle.git/commitdiff
Changing ocurrences from search_documents to block_search_documents. MDL-10572
authorstronk7 <stronk7>
Sat, 11 Aug 2007 00:23:29 +0000 (00:23 +0000)
committerstronk7 <stronk7>
Sat, 11 Aug 2007 00:23:29 +0000 (00:23 +0000)
search/indexersplash.php
search/lib.php
search/stats.php

index 058118677df4ecaa65d3b4c91214472f185dbc84..26b7763a34f9615f07d309b01566f0de2fbed3bb 100644 (file)
@@ -35,7 +35,7 @@ $indexinfo = new IndexInfo();
 
 if ($indexinfo->valid()) {
     mtrace("<pre>The data directory ($indexinfo->path) contains $indexinfo->filecount files, and\n"
-          ."there are ".$indexinfo->dbcount." records in the <em>search_documents</em> table.\n"
+          ."there are ".$indexinfo->dbcount." records in the <em>block_search_documents</em> 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
+?>
index b9e6f9195c66716a0763900e980a0d46a5651942..1b441aaff3de087dcecaf4fe676d6b0a3b6345ea 100644 (file)
@@ -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');
index 0b71c9c29e1d1f2e0c7e793cb14f143c4c1388a0..412205595b6832d76269e2c5b6f93ca88ebf8368 100644 (file)
@@ -122,7 +122,7 @@ $table->cellpadding = 5;
 $table->cellspacing = 0;
 $table->width = '500';
 
-$table->data[] = array("<strong>{$databasestr}</strong>", "<em><strong>{$CFG->prefix}search_documents</strong></em>");
+$table->data[] = array("<strong>{$databasestr}</strong>", "<em><strong>{$CFG->prefix}block_search_documents</strong></em>");
 
 //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
+?>