diff options
Diffstat (limited to 'refresh.php')
| -rw-r--r-- | refresh.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/refresh.php b/refresh.php index c2c6a3b..40bc081 100644 --- a/refresh.php +++ b/refresh.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_search/refresh.php,v 1.6 2006/02/08 20:21:32 lsces Exp $ + * $Header: /cvsroot/bitweaver/_bit_search/refresh.php,v 1.7 2007/12/04 17:42:09 joasch Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,12 +8,12 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: refresh.php,v 1.6 2006/02/08 20:21:32 lsces Exp $ + * $Id: refresh.php,v 1.7 2007/12/04 17:42:09 joasch Exp $ * @author Luis Argerich (lrargerich@yahoo.com) * @package search * @subpackage functions */ - + /** * refresh_search_index */ @@ -40,9 +40,8 @@ function refresh_search_index() { $locs[''] = ARTICLES_PKG_NAME; } if( $gBitSystem->isPackageActive( 'blogs' ) ) { - //Can't use the new random function with blogs - they aren'tin liberty_content yet. - $locs['random_refresh_index_blogs'] = ''; - //Can use new function for blog_posts though ... + // if blogs is active, let's always refresh + random_refresh_index("blogs"); $locs['random_refresh_index']="blog_posts"; } |
