You are here

function headerimage_update_7000 in Header image 7

Header image blocks should not be cached

File

./headerimage.install, line 39

Code

function headerimage_update_7000() {

  // Do not cache the headerimage block
  db_update('block')
    ->fields(array(
    'cache' => DRUPAL_NO_CACHE,
  ))
    ->condition('module', 'headerimage')
    ->execute();
}