function user_relationship_blocks_update_6100 in User Relationships 7
Same name and namespace in other branches
- 6 user_relationship_blocks/user_relationship_blocks.install \user_relationship_blocks_update_6100()
Implements hook_update_N(). Update 6100 updates block caching flags #458520.
File
- user_relationship_blocks/
user_relationship_blocks.install, line 40 - User relationship blocks installation
Code
function user_relationship_blocks_update_6100() {
$ret = array();
$ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'user_relationship_blocks' AND delta IN ('actions', 'pending', 'user-all', 'my-all')");
return $ret;
}