function system_update_6047
Fix cache mode for blocks inserted in system_install() in fresh installs of previous RC.
Related topics
Archivo
- drupal-6.x/
modules/ system/ system.install, line 2595
Código
function system_update_6047() {
$ret = array();
$ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'user' AND delta IN ('0', '1')");
$ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'system' AND delta = '0'");
return $ret;
}