Index: views.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/views.install,v
retrieving revision 1.37
diff -u -r1.37 views.install
--- views.install	15 Mar 2008 18:47:43 -0000	1.37
+++ views.install	17 Mar 2008 19:49:48 -0000
@@ -172,8 +172,9 @@
  * if you've been running a beta version or something.
  */
 function views_update_6000() {
+  $ret = array();
   if (db_table_exists('views_view')) {
-    return;
+    return $ret;
   }
 
   // This is mostly the same as drupal_install_schema, but it forces
@@ -182,7 +183,6 @@
   $schema = views_schema_1();
   _drupal_initialize_schema($module, $schema);
 
-  $ret = array();
   foreach ($schema as $name => $table) {
     db_create_table($ret, $name, $table);
   }
