summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/search/search.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 0c63b9d5c..632073d24 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -561,7 +561,6 @@ function search_index($sid, $type, $text) {
if (preg_match('!(?:node|book)/(?:view/)?([0-9]+)!i', $path, $match)) {
$linknid = $match[1];
if ($linknid > 0) {
- // Note: ignore links to uncacheable nodes to avoid redirect bugs.
$node = db_query('SELECT title, nid, vid FROM {node} WHERE nid = :nid', array(':nid' => $linknid), array('target' => 'slave'))->fetchObject();
$link = TRUE;
$linktitle = $node->title;