You are here

function boost_update_6116 in Boost 6

Update 6116 - Update page_callback column so views_page is now view

File

./boost.install, line 1209
Handles Boost module installation and upgrade tasks.

Code

function boost_update_6116() {
  $ret = array();
  $ret[] = update_sql("UPDATE {boost_cache} SET page_callback = 'view' WHERE page_callback = 'views_page'");
  $ret[] = update_sql("UPDATE {boost_cache_settings} SET page_callback = 'view' WHERE page_callback = 'views_page'");
  return $ret;
}