You are here

function cck_blocks_update_6000 in CCK Blocks 6

Change the cache setting of existing CCK blocks to BLOCK_NO_CACHE.

File

./cck_blocks.install, line 6

Code

function cck_blocks_update_6000() {
  $ret = array();
  $ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'cck_blocks' AND cache = 1");
  return $ret;
}