? boost-601348.patch
? boost-601514.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 17:48:16 -0000
@@ -424,7 +424,7 @@ function boost_nodeapi(&$node, $op, $tea
 
   switch ($op) {
     case 'insert':
-      if (BOOST_FLUSH_VIEWS_INSERT) {
+      if (BOOST_FLUSH_VIEWS_INSERT && module_exists('views')) {
         $GLOBALS['_boost_nid'] = $node->nid;
         register_shutdown_function('_boost_view_insert');
       }
@@ -519,7 +519,7 @@ function boost_expire_node($node) {
     }
   }
 
-  if (BOOST_FLUSH_CCK_REFERENCES) {
+  if (BOOST_FLUSH_CCK_REFERENCES && module_exists('nodereference')) {
     // Get CCK References and flush.
     $nids = array();
     $type = content_types($node->type);
@@ -546,7 +546,7 @@ function boost_expire_node($node) {
     }
   }
 
-  if (BOOST_FLUSH_VIEWS) {
+  if (BOOST_FLUSH_VIEWS && module_exists('views')) {
     $GLOBALS['_boost_router_item'] = isset($GLOBALS['_boost_router_item']) ? $GLOBALS['_boost_router_item'] : _boost_get_menu_router();
     $router_item = $GLOBALS['_boost_router_item'];
     $data = array();
