summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2011-01-10 22:47:54 +0100
committerMichael Hamann <michael@content-space.de>2011-01-10 22:47:54 +0100
commit517a47eca3a26afd3aedfd47eb372596af4029ae (patch)
treefb5de2b5c0017090412e5e7d61a796b271457c19 /inc/template.php
parentcc58224cff540373081dcde9c64d00efbf0fbddc (diff)
downloadrpg-517a47eca3a26afd3aedfd47eb372596af4029ae.tar.gz
rpg-517a47eca3a26afd3aedfd47eb372596af4029ae.tar.bz2
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.
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 0 insertions, 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();