Index: blockcache.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/blockcache/blockcache.module,v
retrieving revision 1.7.2.8
diff -u -r1.7.2.8 blockcache.module
--- blockcache.module	12 Aug 2009 04:49:16 -0000	1.7.2.8
+++ blockcache.module	24 Aug 2009 22:15:16 -0000
@@ -64,7 +64,7 @@
           'user' => t('A user is added/updated/deleted'),
           'login' => t('A user logs in our out'),
         ),
-        '#default_value' => variable_get('bc_refresh_'. $delta, array('node', 'comment', 'user', 'login')),
+        '#default_value' => variable_get('bc_refresh_'. $delta, array()),
         '#description' => t('If the contents of this block updates with changes to the site, select which changes affect the block contents. If you are unsure, leave all checked. <strong>Notes:</strong><br />1) If none are checked AND cache lifetime is left blank, the contents of this block will NEVER refresh.<br />2) This setting will essentially <em>cut short</em> the cache lifetime set above when nodes/comments/users are changed. For instance, if you have comments selected here and the lifetime is set to 1800 (30 minutes) and your site gets comments every 2 minutes, the block will update every 2 minutes.'),
       );
       $r = db_fetch_object(db_query("SELECT * FROM {bc_blocks} WHERE my_delta = %d", $delta));
@@ -366,7 +366,7 @@
   $result = db_query('SELECT * FROM {bc_blocks}');
   while ($r = db_fetch_object($result)) {
     if (module_exists($r->module)) { 
-      $refresh = variable_get('bc_refresh_' . $r->my_delta, array($type => $type));
+      $refresh = variable_get('bc_refresh_' . $r->my_delta, array());
       if ($refresh[$type]) {
         $likes[] = 'cid LIKE "bc_' . db_escape_string($r->my_delta) . '::%"';
         if ($debug) {
