You are here

function nice_menus_update_6000 in Nice Menus 6

Same name and namespace in other branches
  1. 6.2 nice_menus.install \nice_menus_update_6000()
  2. 7.3 nice_menus.install \nice_menus_update_6000()
  3. 7.2 nice_menus.install \nice_menus_update_6000()

Implementation of hook_update_N().

File

./nice_menus.install, line 6

Code

function nice_menus_update_6000() {

  // Existing blocks need to be set to no caching.
  $ret = array();
  $ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'nice_menus'");
  return $ret;
}