Commit d4851888 authored by merlinofchaos's avatar merlinofchaos

#136330: Fix problems with views_cache table not existing when updating from 1.5 -> 1.6-beta.

parent c45f02c7
...@@ -4,6 +4,8 @@ Views 5.x-dev ...@@ -4,6 +4,8 @@ Views 5.x-dev
Bugs fixed: Bugs fixed:
o #136179: Invalid pass-by-reference in views.install fixed. o #136179: Invalid pass-by-reference in views.install fixed.
o #140431: Taxonomy select boxes were improperly showing descriptions. o #140431: Taxonomy select boxes were improperly showing descriptions.
o #137971: Fix .install file for PGSQL. Again. Still.
o #136330: Fix problems with views_cache table not existing when updating from 1.5 -> 1.6-beta.
Views 5.x-beta3 Views 5.x-beta3
Bugs fixed: Bugs fixed:
......
...@@ -425,6 +425,7 @@ function views_update_12() { ...@@ -425,6 +425,7 @@ function views_update_12() {
break; break;
} }
views_make_cache_table($ret);
include_once('./'. drupal_get_path('module', 'views') .'/views.module'); include_once('./'. drupal_get_path('module', 'views') .'/views.module');
$result = db_query("SELECT name FROM {view_view} ORDER BY name"); $result = db_query("SELECT name FROM {view_view} ORDER BY name");
while ($row = db_fetch_array($result)) { while ($row = db_fetch_array($result)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment