function nice_menus_update_6000 in Nice Menus 6
Same name and namespace in other branches
- 6.2 nice_menus.install \nice_menus_update_6000()
- 7.3 nice_menus.install \nice_menus_update_6000()
- 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;
}