diff --git a/ctools.install b/ctools.install
index b52290aa1c6f527efc67c6ffe2ef8f39c1c39cff..6b63e9b961bd6888a4ee27155665300e8f65dfef 100644
--- a/ctools.install
+++ b/ctools.install
@@ -145,3 +145,18 @@ function ctools_update_6002() {
   db_create_table($ret, 'ctools_css_cache', $schema['ctools_css_cache']);
   return $ret;
 }
+
+/**
+ * Take over for the panels_views module if it was on.
+ */
+function ctools_update_6003() {
+  $ret = array();
+
+  $result = db_result(db_query("SELECT status FROM {system} WHERE name = 'panels_views'"));
+  if ($result) {
+    $ret[] = update_sql("DELETE from {system} WHERE name = 'panels_views'");
+    drupal_install_modules(array('views_content'));
+  }
+
+  return $ret;
+}