function notifications_ui_update_6001 in Notifications 6.4
Same name and namespace in other branches
- 6.2 notifications_ui/notifications_ui.install \notifications_ui_update_6001()
Disable cache in subscription block
File
- notifications_ui/
notifications_ui.install, line 32
Code
function notifications_ui_update_6001() {
$ret = array();
$ret[] = update_sql("UPDATE {blocks} SET cache = " . BLOCK_NO_CACHE . " WHERE module = 'notifications_ui'");
$ret[] = update_sql("DELETE FROM {cache_block} WHERE cid LIKE 'notifications_ui:%'");
return $ret;
}