function views_update_6012 in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 views.install \views_update_6012()
Correct the cache setting for exposed filter blocks.
See also
File
- ./
views.install, line 492 - Contains install and update functions for Views.
Code
function views_update_6012() {
// There is only one simple query to run.
db_update('blocks')
->condition('module', 'views')
->condition('delta', db_like('-exp-') . '%', 'LIKE')
->fields(array(
'cache' => DRUPAL_NO_CACHE,
));
}