Skip to content

Commit

Permalink
Changing ocurrences from search_documents to block_search_documents. …
Browse files Browse the repository at this point in the history
…MDL-10572
  • Loading branch information
stronk7 committed Aug 11, 2007
1 parent 056eb98 commit 690b644
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions search/indexersplash.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

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"
Expand All @@ -52,4 +52,4 @@
else {
header('Location: indexer.php?areyousure=yes');
}
?>
?>
2 changes: 1 addition & 1 deletion search/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions search/stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
$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()) {
Expand All @@ -146,4 +146,4 @@
print_box_end();
print_box_end();
print_footer();
?>
?>

0 comments on commit 690b644

Please sign in to comment.