You are here

function ad_update_6008 in Advertisement 6.2

Same name and namespace in other branches
  1. 6.3 ad.install \ad_update_6008()

If block caching is enabled, make it a per-page cache. This is necessary to fix bug #604350.

File

./ad.install, line 481
Advertisement module database schema.

Code

function ad_update_6008() {
  $ret = array();
  $ret[] = update_sql("UPDATE {blocks} SET cache = " . BLOCK_CACHE_PER_PAGE . " WHERE module = 'ad'");
  return $ret;
}