function favorites_update_6001 in Favorites 6
Implements hook_update_N() for update 6001.
Make User Favorites block not cacheable. This update is necessary because of http://drupal.org/node/235673.
File
- ./
favorites.install, line 82 - Install, update and uninstall functions for the Favorites module.
Code
function favorites_update_6001() {
$ret = array();
$ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'favorites'");
return $ret;
}