From 517a47eca3a26afd3aedfd47eb372596af4029ae Mon Sep 17 00:00:00 2001
From: Michael Hamann <michael@content-space.de>
Date: Mon, 10 Jan 2011 22:47:54 +0100
Subject: [PATCH] Call the indexer for hidden pages

This makes sure that the indexer is also called for hidden pages so they
aren't missing in the title index and digest subscriptions work for
them, too. Hidden pages are already filtered from the search results.
---
 inc/template.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/inc/template.php b/inc/template.php
index 413c3af07..e4c74a714 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -988,8 +988,6 @@ function tpl_indexerWebBug(){
     global $INFO;
     if(!$INFO['exists']) return false;
 
-    if(isHiddenPage($ID)) return false; //no need to index hidden pages
-
     $p = array();
     $p['src']    = DOKU_BASE.'lib/exe/indexer.php?id='.rawurlencode($ID).
         '&'.time();
-- 
GitLab