Index: switchtheme.install
===================================================================
RCS file: switchtheme.install
diff -N switchtheme.install
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ switchtheme.install	22 Jun 2010 18:27:33 -0000
@@ -0,0 +1,16 @@
+<?php
+// $Id$
+
+/**
+ * @file
+ * Install, update, and uninstall functions for the switchtheme module.
+ */
+
+/**
+ * Disable block caching.
+ */
+function switchtheme_update_6001() {
+  $ret = array();
+  $ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'switchtheme'");
+  return $ret;
+}
\ No newline at end of file
Index: switchtheme.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/switchtheme/switchtheme.module,v
retrieving revision 1.17
diff -u -p -r1.17 switchtheme.module
--- switchtheme.module	10 Aug 2009 23:47:00 -0000	1.17
+++ switchtheme.module	22 Jun 2010 18:27:33 -0000
@@ -112,7 +112,9 @@ function switchtheme_theme() {
 function switchtheme_block($op = 'list', $delta = 0, $edit = array()) {
   if ($op == 'list') {
     $blocks[0]['info'] = t('Switch theme form');
+    $blocks[0]['cache'] = BLOCK_NO_CACHE;
     $blocks[1]['info'] = t('Random theme');
+    $blocks[1]['cache'] = BLOCK_NO_CACHE;
     return $blocks;
   }
   elseif ($delta == 0 && $op == 'view' && user_access('switch theme')) {
