? boost-601826.1.patch
? boost-601826.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.178
diff -u -p -r1.3.2.2.2.5.2.178 boost.module
--- boost.module	10 Oct 2009 21:04:55 -0000	1.3.2.2.2.5.2.178
+++ boost.module	11 Oct 2009 23:54:41 -0000
@@ -442,7 +442,7 @@ function boost_nodeapi(&$node, $op, $tea
  * views for newly created node. Expires those nodes from the cache.
  */
 function _boost_view_insert() {
-  $result = db_query("SELECT * FROM {boost_cache} WHERE base_dir = '%s' AND page_callback = 'view'", BOOST_FILE_PATH);
+  $result = db_query("SELECT * FROM {boost_cache} WHERE base_dir = '%s' AND page_callback = 'view' AND expire > 0 AND expire <> 434966400", BOOST_FILE_PATH);
   $data = array();
   while ($boost = db_fetch_array($result)) {
     $view = views_get_view($boost['page_type']);
@@ -1851,7 +1851,7 @@ function boost_get_settings_db($router_i
  */
 function boost_get_db_term($term) {
   $filenames = array();
-  $result = db_query("SELECT filename, hash FROM {boost_cache} WHERE expire > 0 AND page_id = '%s' AND page_callback = 'taxonomy'", $term);
+  $result = db_query("SELECT filename, hash FROM {boost_cache} WHERE expire > 0 AND expire <> 434966400 AND page_id = '%s' AND page_callback = 'taxonomy'", $term);
   while ($filename = db_fetch_array($result)) {
     $filenames[] = $filename;
   }
